From b923ed4189e1a23c20813dbb25b31fb810998880 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 2 Mar 2020 10:43:03 +0100 Subject: [PATCH] :wrench: Windowd build: export-all --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 76af6ab6..748d705f 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ CFLAGS += -Iinclude ifeq (${BUILD_ON_WINDOWS}, 1) ifeq (${CC}, gcc) CFLAGS += -export-dynamic -LDFLAGS += --export-all-symbols -Wl,--out-implib=libgwion.dll.a +LDFLAGS += -Wl,--export-all-symbols -Wl,--enable-auto-import-object -Wl,--out-implib=libgwion.dll.a CFLAGS += -Wl,-export-dynamic LDFLAGS += -Wl,-export-dynamic LDFLAGS += -lm -- 2.43.0