]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Windowd build: export-all
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 2 Mar 2020 09:43:03 +0000 (10:43 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 2 Mar 2020 09:43:03 +0000 (10:43 +0100)
Makefile

index 76af6ab621e45b5e7c9a244e9b10ecf49738f346..748d705ffeb2f4987f927e806cc1466dd41d23b9 100644 (file)
--- 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