From 64f222ea0582da5ac88c72fa0e0406453925cc73 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/beatpipe/; revision=11724 --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 88a4c64..829584e 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ LINUXINCLUDE = -I/usr/local/include beatpipe: beatpipe.c gcc $(CFLAGS) $(LINUXCFLAGS) $(LINUXINCLUDE) -o beatpipe.o -c beatpipe.c - ld -export_dynamic -shared -o beatpipe.pd_linux beatpipe.o -lc -lm + ld --export-dynamic -shared -o beatpipe.pd_linux beatpipe.o -lc -lm strip --strip-unneeded beatpipe.pd_linux rm beatpipe.o -- cgit v1.2.1