From 4f1ecf55a17e780b7a2035948a3acb50dbe48dcd 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/maxlib/; revision=11724 --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index adcbfa9..0c63d77 100644 --- a/makefile +++ b/makefile @@ -383,7 +383,7 @@ LINUXEXTERNALS = borax.o ignore.o match.o pitch.o speedlim.o \ cc $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/weibull.c cc $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/wrap.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 strip --strip-unneeded $*.pd_linux # ---------------------------------------------------------- -- cgit v1.2.1