aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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
commited55bb3e89a7c9fb75b63896f4728054776fd1de (patch)
tree2c53074cfda2abb1d88b93a0f70096a67f48f1ff /Makefile
parentc061dbd1de6473954414365e929051e00ebc4dc2 (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/unauthorized/; revision=11724
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5691717..4cff73f 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ MINGW_LDFLAGS = -shared -L../../pd/bin -LC:/msys/1.0/lib \
#.c.dll: CURRENT_DIR = `echo $* | cut -d '/' -f 1`
# $(CC) $(MINGW_CFLAGS) $(MINGW_INCLUDE) -o $*.o -c $*.c
-# ld -export_dynamic -shared -o $*.dll $*.o -lc -lm $(MINGW_LFLAGS)
+# ld --export-dynamic -shared -o $*.dll $*.o -lc -lm $(MINGW_LFLAGS)
# strip --strip-unneeded $*.dll
# dllwrap --target=i386-mingw32 -mno-cygwin --output-lib=lib$*.a \
# --dllname=$*.dll --driver-name=gcc $*.o $(MINGW_LFLAGS)
@@ -127,7 +127,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