From 90f24def2cb7a7539bf523664783964a117d8c0f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 4 Jun 2009 23:07:06 +0000 Subject: updated linker flags to actually be used. -export_dynamic means -e xport_dynamic, the correct flag is --export-dynamic. Also, the ld man page recommends including -fPIC in the linker flags when using -shared svn path=/trunk/; revision=11669 --- externals/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externals') 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 -- cgit v1.2.1