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

index 04ed252c9058060c258ab316894f3830a82cc607..76af6ab621e45b5e7c9a244e9b10ecf49738f346 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-dynamic -Wl,--out-implib=libgwion.dll.a
+LDFLAGS += --export-all-symbols -Wl,--out-implib=libgwion.dll.a
 CFLAGS += -Wl,-export-dynamic
 LDFLAGS += -Wl,-export-dynamic
 LDFLAGS += -lm