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 | c8a489cb18373c5c1721aba6b4a5a7b04566a1f7 (patch) | |
tree | 18852d437b3b272f106bca371d5c2d172f4eca52 | |
parent | 420ada2dde4af8d71bc1d9c6988311961cf47f1b (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/algocomp/; revision=11724
-rwxr-xr-x | Makefile | 4 | ||||
-rwxr-xr-x | Makefile.advanced | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -33,7 +33,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux:
cc -O2 -Wall -DPD -fPIC $(LINUXCFLAGS) $(LINUXINCLUDE) -c $*.c
- ld -export_dynamic -shared -o $*.pd_linux $*.o -lc
+ ld --export-dynamic -shared -o $*.pd_linux $*.o -lc
strip --strip-unneeded $*.pd_linux
install_linux:
@@ -72,7 +72,7 @@ install_nt: pd_xp:
gcc -O2 -Wall -DPD -L$(LIBPATH) -c $(NAME).c
- ld -export_dynamic -shared -o $(NAME).dll -lc
+ ld --export-dynamic -shared -o $(NAME).dll -lc
install_xp:
diff --git a/Makefile.advanced b/Makefile.advanced index 401e5db..fb48ca9 100755 --- a/Makefile.advanced +++ b/Makefile.advanced @@ -92,7 +92,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux: cc -O2 -Wall -DPD -fPIC $(LINUXCFLAGS) $(LINUXINCLUDE) -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc strip --strip-unneeded $*.pd_linux # ---------------------------------------------------------- |