From 7c5901d56f05e96fef48b0c724ecaf8d8068e528 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/pdp/; revision=11724 --- Makefile | 4 ++-- opengl/Makefile | 2 +- scaf/Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f908bfb..aa8c006 100644 --- a/Makefile +++ b/Makefile @@ -26,11 +26,11 @@ darwin: pdp_all linux: pdp_all rm -f pdp.pd_linux - $(CC) --export_dynamic -shared -o pdp.pd_linux modules/*/*.o system/pdp.o system/*/*.o puredata/*.o $(PDP_LIBS) + $(CC) ---export-dynamic -shared -o pdp.pd_linux modules/*/*.o system/pdp.o system/*/*.o puredata/*.o $(PDP_LIBS) linux_mmx: pdp_all rm -f pdp.pd_linux - $(CC) --export_dynamic -shared -o pdp.pd_linux modules/*/*.o system/pdp.o system/*/*.o puredata/*.o $(PDP_LIBS) + $(CC) ---export-dynamic -shared -o pdp.pd_linux modules/*/*.o system/pdp.o system/*/*.o puredata/*.o $(PDP_LIBS) buildclean: make -C include clean diff --git a/opengl/Makefile b/opengl/Makefile index ac10380..5ddaa1c 100644 --- a/opengl/Makefile +++ b/opengl/Makefile @@ -20,7 +20,7 @@ clean: pdp_opengl.pd_linux: subdirs rm -f pdp_opengl.pd_linux - $(CC) -export_dynamic -shared -o pdp_opengl.pd_linux modules/*.o system/*.o $(LDFLAGS) -g + $(CC) --export-dynamic -shared -o pdp_opengl.pd_linux modules/*.o system/*.o $(LDFLAGS) -g pdp_opengl.pd_darwin: subdirs rm -f pdp_opengl.pd_linux diff --git a/scaf/Makefile b/scaf/Makefile index a75695c..075a0b4 100644 --- a/scaf/Makefile +++ b/scaf/Makefile @@ -26,7 +26,7 @@ mrproper: clean pdp_scaf.pd_linux: pdp_scaf_all rm -f pdp_scaf.pd_linux - gcc -export_dynamic -shared -o pdp_scaf.pd_linux pdp/*.o $(PDP_CA_LIBS) + gcc --export-dynamic -shared -o pdp_scaf.pd_linux pdp/*.o $(PDP_CA_LIBS) install: all install -d $(prefix)/lib/scaf -- cgit v1.2.1