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
commitcc112f26ab845d0550e329e52bedb5e06748b859 (patch)
tree8a4997412cf21a706532ec6c733d7ce5d196381f
parentd5ed823f5946fe8457cb584bcaaad5b7a03938f7 (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/pdogg/; revision=11724
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index cd30636..2018080 100644
--- a/makefile
+++ b/makefile
@@ -85,7 +85,7 @@ LINUXEXTERNALS = oggamp~.o oggcast~.o oggread~.o oggwrite~.o
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -c oggread~/oggread~.c
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -c oggwrite~/oggwrite~.c
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -c $*.c
- ld -export_dynamic -shared -o $*.pd_linux $*.o $(LINUXEXTERNALS) -lc \
+ ld --export-dynamic -shared -o $*.pd_linux $*.o $(LINUXEXTERNALS) -lc \
-lm -L/usr/local/lib -lvorbisfile -lvorbisenc -lvorbis -logg
strip --strip-unneeded $*.pd_linux