aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/Makefile b/externals/Makefile
index cf818477..b7aaf44f 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -61,7 +61,7 @@ ifeq ($(OS_NAME),darwin)
endif
ifeq ($(OS_NAME),linux)
CFLAGS += -I$(externals_src)/pdp/include -DUNIX -Dunix -DDL_OPEN -fPIC
- LDFLAGS += -Wl,-export_dynamic -shared
+ LDFLAGS += -Wl,--export-dynamic -shared -fPIC
LIBS += -lc
DYLIB_LDFLAGS = $(LDFLAGS)
STRIP = strip --strip-unneeded -R .note -R .comment