From e526650c187a2e380277f18f1c6b03d22dbc3e98 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/ggee/; revision=11724 --- experimental/Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'experimental/Makefile.linux') diff --git a/experimental/Makefile.linux b/experimental/Makefile.linux index ab7d09f..2d30c93 100644 --- a/experimental/Makefile.linux +++ b/experimental/Makefile.linux @@ -20,7 +20,7 @@ LINUXINCLUDE = -I/usr/include -I/usr/local/include/stk .cpp.pd_linux: g++ $(LINUXCFLAGS) $(LINUXINCLUDE) -c $(NAME).cpp - g++ -export_dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc -lstk + g++ -Wl,--export-dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc -lstk strip --strip-unneeded $(NAME).pd_linux rm -f *.o # ------------------------------------------------------- -- cgit v1.2.1