aboutsummaryrefslogtreecommitdiff
path: root/externals/build
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
commite099729995f67ede6122befd2fca2a48becef032 (patch)
tree7269ace5125fede1b0ceaadcdb82593f8fc7535f /externals/build
parent3ab91f48f6ed73206d9f734cf56b51db07801b50 (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/; revision=11724
Diffstat (limited to 'externals/build')
-rw-r--r--externals/build/irix/makefile2
-rw-r--r--externals/build/linux/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/externals/build/irix/makefile b/externals/build/irix/makefile
index 61866ffc..d792111c 100644
--- a/externals/build/irix/makefile
+++ b/externals/build/irix/makefile
@@ -68,7 +68,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 -f $*.o ../$*.pd_linux
ln -s $*/$*.pd_linux ..
diff --git a/externals/build/linux/makefile b/externals/build/linux/makefile
index 3e778283..036b3005 100644
--- a/externals/build/linux/makefile
+++ b/externals/build/linux/makefile
@@ -53,7 +53,7 @@ INCLUDES = -I. -I.. -I../../../pd/src -I../include
%.pd_linux: ../src/%.c
$(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c "../src/$*.c"
- gcc -Wl,-export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm \
+ gcc -Wl,--export-dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm \
`test -f $*.libs && cat $*.libs` \
`test -f ../src/$*.libs && cat ../src/$*.libs`
chmod a-x "$*.pd_linux"