diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-09 17:34:48 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-09 17:34:48 +0000 |
commit | ed55bb3e89a7c9fb75b63896f4728054776fd1de (patch) | |
tree | 2c53074cfda2abb1d88b93a0f70096a67f48f1ff /Makefile | |
parent | c061dbd1de6473954414365e929051e00ebc4dc2 (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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |