From 079361771f9c8809133f8c32be21019077ff21b0 Mon Sep 17 00:00:00 2001 From: Quinn Date: Wed, 17 Sep 2025 13:44:34 +0200 Subject: [PATCH] fix-test: windows compilation; append some extra libraries when compiling windows. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9b9f720..6a52b0e 100644 --- a/Makefile +++ b/Makefile @@ -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