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/iem/comport/; revision=11724
This commit is contained in:
Hans-Christoph Steiner 2009-06-09 17:34:48 +00:00
parent 2d25fda968
commit ebc39b9349
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ LINUXINCLUDE = -I../../src
.c.pd_linux: .c.pd_linux:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c 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 strip --strip-unneeded $*.pd_linux
rm $*.o rm $*.o

View file

@ -77,7 +77,7 @@ LINUXINCLUDE = -I../../src -I../../../../pd/src
.c.pd_linux: .c.pd_linux:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c 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 strip --strip-unneeded $*.pd_linux
rm $*.o rm $*.o