From c9453cec814f0be40cf32ef71b2170796ad8f99f 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/k_guile/; revision=11724 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5defaaa..e28f664 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ LINUXINCLUDEPATH=../../src LINUXINCLUDE = -I$(LINUXINCLUDEPATH) $(NAME).pd_linux: $(NAME).o - ld -export_dynamic -shared -o $(NAME).pd_linux k_guile.o -lc -lm -lguile + ld --export-dynamic -shared -o $(NAME).pd_linux k_guile.o -lc -lm -lguile strip --strip-unneeded $*.pd_linux rm -f $*.o ../$*.pd_linux ln -s $(DIR)/$*.pd_linux .. -- cgit v1.2.1