fixed build on windows
[gph-gfx] / Makefile
index cf2a010..91bf8b6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/')
 ifeq ($(sys), mingw)
        src += test_win.c
        CFLAGS += -DBUILD_WIN32
+       LDFLAGS += -lgdi32
 else
        src += test_x11.c
        CFLAGS += -DBUILD_X11