From ed55bb3e89a7c9fb75b63896f4728054776fd1de Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 9 Jun 2009 17:34:48 +0000 Subject: 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1