mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 03:45:46 +01:00
fix-test: windows compilation; append some extra libraries when compiling windows.
This commit is contained in:
1
Makefile
1
Makefile
@@ -32,6 +32,7 @@ LDLIBS += -lglfw3 -larchive -lm
|
|||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
ISWIN = 1
|
ISWIN = 1
|
||||||
NAME := $(NAME).exe
|
NAME := $(NAME).exe
|
||||||
|
LDLIBS += -lopengl32 -lgdi32
|
||||||
$(warning Detected Windows_NT, please refer to the documentation if you encounter issues.)
|
$(warning Detected Windows_NT, please refer to the documentation if you encounter issues.)
|
||||||
else ifeq ($(shell uname -s),Darwin)
|
else ifeq ($(shell uname -s),Darwin)
|
||||||
LDLIBS += -framework Cocoa -framework OpenGL -framework IOKit
|
LDLIBS += -framework Cocoa -framework OpenGL -framework IOKit
|
||||||
|
|||||||
Reference in New Issue
Block a user