aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
commitd285825bc8d34f791f3adc07caa836457b66b7bd (patch)
tree1a2a1af8c52baf95504d75beb807fee1fb960813
parent368a73cf8bc493bdfc3deffef79e0cc74b349406 (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/tof/; revision=11724
-rwxr-xr-xsrc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index d7811d6..fcdb2a4 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -41,7 +41,7 @@ LINUXINCLUDE = -I$(PDPATH)/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