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
commitdfa2a2ef2bce2aacf5f4f2f018bdc82c9dde8b3d (patch)
treed0b2d3f3fe1472a783cb9b05d94d85e9f2652b2d
parentbfd6b01613bba2af84f07e1dfcd555ee94ec6d4b (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/boids/; revision=11724
-rw-r--r--boids2d/makefile2
-rw-r--r--boids3d/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/boids2d/makefile b/boids2d/makefile
index 18fe37f..6198c49 100644
--- a/boids2d/makefile
+++ b/boids2d/makefile
@@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src
.c.pd_linux:
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
- ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
+ ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm -f $*.o
diff --git a/boids3d/makefile b/boids3d/makefile
index 43c143c..b2f087e 100644
--- a/boids3d/makefile
+++ b/boids3d/makefile
@@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src
.c.pd_linux:
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
- ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
+ ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm -f $*.o