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:
parent
2d25fda968
commit
ebc39b9349
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ LINUXINCLUDE = -I../../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
|
||||
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ LINUXINCLUDE = -I../../src -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue