]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Windows -export-dynamic?
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 20:40:30 +0000 (21:40 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 20:40:30 +0000 (21:40 +0100)
Makefile

index 1c821eca58ac960f65eb4bc461354d538124888b..5dc07a326cd960d43eea0f93213694c5c2e7992f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,9 @@ CFLAGS  += -Iinclude
 ifeq (${BUILD_ON_WINDOWS}, 1)
 ifeq (${CC}, gcc)
 CFLAGS += -export-dynamic
+LDFLAGS += -export-dynamic
+CFLAGS += -Wl,export-dynamic
+LDFLAGS += -Wl,export-dynamic
 LDFLAGS += -lm
 endif
 else