fix-test: windows compilation; append some extra libraries when compiling windows.

This commit is contained in:
2025-09-17 13:44:34 +02:00
parent 66e3d0d06f
commit 079361771f

View File

@@ -32,6 +32,7 @@ LDLIBS += -lglfw3 -larchive -lm
ifeq ($(OS),Windows_NT)
ISWIN = 1
NAME := $(NAME).exe
LDLIBS += -lopengl32 -lgdi32
$(warning Detected Windows_NT, please refer to the documentation if you encounter issues.)
else ifeq ($(shell uname -s),Darwin)
LDLIBS += -framework Cocoa -framework OpenGL -framework IOKit