From: Jérémie Astor Date: Mon, 2 Mar 2020 09:43:03 +0000 (+0100) Subject: :wrench: Windowd build: export-all X-Git-Tag: nightly~1726^2~64 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b923ed4189e1a23c20813dbb25b31fb810998880;p=gwion.git :wrench: Windowd build: export-all --- 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