From c7bc2de57b40049fa70304318e3b0bf6cc322a3e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 9 Jun 2009 17:34:48 +0000 Subject: 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/olafmatt/; revision=11724 --- clone/makefile | 2 +- flashserver/makefile | 2 +- netsend~/makefile | 2 +- shoutamp~/makefile | 2 +- shoutcast~/makefile | 2 +- shoutcast~/makefile.intel | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clone/makefile b/clone/makefile index 5c16fed..78fc32b 100644 --- a/clone/makefile +++ b/clone/makefile @@ -72,7 +72,7 @@ LINUXOBJ = clone_connective.o clone_signal.o cc -O2 -Wall -DPD -fPIC $(LINUXCFLAGS) $(LINUXINCLUDE) -c clone_connective.c cc -O2 -Wall -DPD -fPIC $(LINUXCFLAGS) $(LINUXINCLUDE) -c clone_signal.c cc -O2 -Wall -DPD -fPIC $(LINUXCFLAGS) $(LINUXINCLUDE) -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o $(LINUXOBJ) -lc + ld --export-dynamic -shared -o $*.pd_linux $*.o $(LINUXOBJ) -lc strip --strip-unneeded $*.pd_linux # ---------------------------------------------------------- diff --git a/flashserver/makefile b/flashserver/makefile index 76cc978..0b6b658 100644 --- a/flashserver/makefile +++ b/flashserver/makefile @@ -94,7 +94,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 # ---------------------------------------------------------- diff --git a/netsend~/makefile b/netsend~/makefile index cee6861..46a724c 100755 --- a/netsend~/makefile +++ b/netsend~/makefile @@ -86,7 +86,7 @@ LINUXINCLUDE = -I../../../pd/src .c.pd_linux: cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm $*.o diff --git a/shoutamp~/makefile b/shoutamp~/makefile index c1dfbcf..0472b3c 100644 --- a/shoutamp~/makefile +++ b/shoutamp~/makefile @@ -92,7 +92,7 @@ LINUXINCLUDE = -I../../src -I. .c.pd_linux: cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm -L/usr/local/lib -lmp3lame + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm -L/usr/local/lib -lmp3lame strip --strip-unneeded $*.pd_linux rm -f $*.o ../$*.pd_linux ln -s $*/$*.pd_linux .. diff --git a/shoutcast~/makefile b/shoutcast~/makefile index 825740d..034c07c 100644 --- a/shoutcast~/makefile +++ b/shoutcast~/makefile @@ -91,7 +91,7 @@ LINUXINCLUDE = -I../../src -I. .c.pd_linux: cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm -L/usr/local/lib -lmp3lame + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm -L/usr/local/lib -lmp3lame strip --strip-unneeded $*.pd_linux rm -f $*.o ../$*.pd_linux ln -s $*/$*.pd_linux .. diff --git a/shoutcast~/makefile.intel b/shoutcast~/makefile.intel index f306f60..48f517f 100644 --- a/shoutcast~/makefile.intel +++ b/shoutcast~/makefile.intel @@ -79,7 +79,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux: cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm -L/usr/local/lib -lmp3lame + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm -L/usr/local/lib -lmp3lame strip --strip-unneeded $*.pd_linux rm -f $*.o ../$*.pd_linux ln -s $*/$*.pd_linux .. -- cgit v1.2.1