diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-04 23:07:06 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-04 23:07:06 +0000 |
commit | 90f24def2cb7a7539bf523664783964a117d8c0f (patch) | |
tree | 48195306a260eedd5e6c829c04d398a47a82dac8 /externals | |
parent | 867b35db777a607bbd3f98b72aee20bd0e3608b1 (diff) |
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
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 2 |
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 |