From df472b6ac174f1e170831c82e28416d8f6a9dbaf Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 21 Feb 2020 21:40:30 +0100 Subject: [PATCH] :wrench: Windows -export-dynamic? --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 1c821eca..5dc07a32 100644 --- 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 -- 2.43.0