From 8cf0492418de4746eca96553d78b21a96390da9c Mon Sep 17 00:00:00 2001 From: Samuel Gomes Date: Fri, 19 Apr 2024 18:11:36 +0530 Subject: [PATCH] Link with gdi32 when compiling Windows GUI apps --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b130cf31c..285a1f582 100644 --- a/Makefile +++ b/Makefile @@ -360,7 +360,7 @@ ifeq ($(OS),win) LICENSE_IN_USE := $(filter-out freeglut,$(LICENSE_IN_USE)) else - CXXLIBS += -lopengl32 -lglu32 -lwinmm + CXXLIBS += -lopengl32 -lglu32 -lwinmm -lgdi32 endif ifneq ($(filter y,$(DEP_SOCKETS)),)