From 3d93b587480d68f7c97f1583c4c589bf50e0b158 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/postlude/; revision=11724 --- knn/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'knn') diff --git a/knn/makefile b/knn/makefile index 849dfe1..a436016 100644 --- a/knn/makefile +++ b/knn/makefile @@ -72,7 +72,7 @@ LINUXINCLUDE = -I/usr/lib/pd/include/ .c.pd_linux: cc $(LINUXCFLAGS) $(LINUXINCLUDE) -g -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 cp $*.pd_linux ../. -- cgit v1.2.1