aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-27 04:22:21 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-27 04:22:21 +0000
commit1e9403100b5b64a18e20138e880fca1bc73b8ebc (patch)
tree5c4839280849aaacddef5ae4211b6f052518309c
parent5b3ce2fcc9b4cc1ec3822492975a7ae22aa75d9c (diff)
use gcc flag -rdynamic to pass the right flag to LD
svn path=/trunk/externals/pdp/; revision=15168
-rw-r--r--opengl/Makefile2
-rw-r--r--scaf/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/opengl/Makefile b/opengl/Makefile
index 5ddaa1c..9021c29 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) -rdynamic -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 075a0b4..dd0b822 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 -rdynamic -shared -o pdp_scaf.pd_linux pdp/*.o $(PDP_CA_LIBS)
install: all
install -d $(prefix)/lib/scaf