diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-09 17:34:48 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-09 17:34:48 +0000 |
commit | 6e52a80f23941c16466b8803535415ed1f5c68ab (patch) | |
tree | bc80527e89d2fd61decfcbbce67225042123c692 | |
parent | 461a82f9f67821885d5a836e8de7c75691672659 (diff) |
replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic where
appropriate. It seems that once upon a time -export_dynamic was a real flag.
Now it means -e xport_dynamic, meaning set the entry symbol to xport_dynamic,
giving this error message:
/usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000001b60
svn path=/trunk/externals/mjlib/; revision=11724
-rw-r--r-- | makefile | 4 | ||||
-rw-r--r-- | makefile.in | 4 | ||||
-rw-r--r-- | makefile.linux | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -5,7 +5,7 @@ CC = gcc CXX = c++ LD = ld AFLAGS = -LFLAGS = -export_dynamic -shared +LFLAGS = --export-dynamic -shared WFLAGS = IFLAGS = -I./include -I../src INSTALL_PREFIX=/usr/local @@ -27,7 +27,7 @@ all: $(TARGETS) mjLib: $(TARGETS) cc -c $(CFLAGS) -DPD mjLib.c - $(LD) -export_dynamic -shared -o mjLib.pd_linux *.o $(LIBS) + $(LD) --export-dynamic -shared -o mjLib.pd_linux *.o $(LIBS) strip --strip-unneeded mjLib.pd_linux clean:: diff --git a/makefile.in b/makefile.in index 126e864..46259b5 100644 --- a/makefile.in +++ b/makefile.in @@ -5,7 +5,7 @@ CC = gcc CXX = c++ LD = ld AFLAGS = -LFLAGS = -export_dynamic -shared +LFLAGS = --export-dynamic -shared WFLAGS = IFLAGS = -I./include -I../src INSTALL_PREFIX=/usr/local @@ -27,7 +27,7 @@ all: $(TARGETS) mjLib: $(TARGETS) cc -c $(CFLAGS) -DPD mjLib.c - $(LD) -export_dynamic -shared -o mjLib.pd_linux *.o $(LIBS) + $(LD) --export-dynamic -shared -o mjLib.pd_linux *.o $(LIBS) strip --strip-unneeded mjLib.pd_linux clean:: diff --git a/makefile.linux b/makefile.linux index f1de6a1..5a5ca8e 100644 --- a/makefile.linux +++ b/makefile.linux @@ -5,7 +5,7 @@ CC = gcc CXX = c++ LD = ld AFLAGS = -LFLAGS = -export_dynamic -shared +LFLAGS = --export-dynamic -shared WFLAGS = IFLAGS = -I./include -I../src INSTALL_PREFIX=/usr/local |