aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
commit7c5901d56f05e96fef48b0c724ecaf8d8068e528 (patch)
tree1d4667ead628b5716e104b78edeebe53f38ebdc5
parentffa3604326aeb2dc99160f9dfc953ba7cb5179af (diff)
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
-rw-r--r--Makefile4
-rw-r--r--opengl/Makefile2
-rw-r--r--scaf/Makefile2
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