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
commitac2083933d2e76f7008013e8256ed879192d9509 (patch)
treeecf470cfe2d0eac3411ef9040f84c368e6cbb1d1
parent90f8456eef2c88807c8fd8a3be376fd41c6ee6bb (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/pdvjtools/; revision=11724
-rwxr-xr-xcolorgrid/Makefile2
-rw-r--r--pdp_1394L/Makefile2
-rw-r--r--pdp_freeframe/Makefile2
-rw-r--r--pix_preview/Makefile2
-rwxr-xr-xpix_preview/Makefile.in2
-rwxr-xr-xvideogrid/Makefile2
6 files changed, 6 insertions, 6 deletions
diff --git a/colorgrid/Makefile b/colorgrid/Makefile
index 8f3062a..2da52c4 100755
--- a/colorgrid/Makefile
+++ b/colorgrid/Makefile
@@ -18,7 +18,7 @@ LINUXINCLUDE = -I../../../pd/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/pdp_1394L/Makefile b/pdp_1394L/Makefile
index e87d528..71e2070 100644
--- a/pdp_1394L/Makefile
+++ b/pdp_1394L/Makefile
@@ -5,7 +5,7 @@ include Makefile.config
PDP_MOD = pdp_1394L.o
all: $(PDP_MOD)
- $(CC) -export_dynamic -shared -o pdp_1394L.pd_linux *.o $(PDP_LIBS)
+ $(CC) -Wl,--export-dynamic -shared -o pdp_1394L.pd_linux *.o $(PDP_LIBS)
clean:
rm -f *~
diff --git a/pdp_freeframe/Makefile b/pdp_freeframe/Makefile
index 7fa28dc..188e541 100644
--- a/pdp_freeframe/Makefile
+++ b/pdp_freeframe/Makefile
@@ -7,7 +7,7 @@ PDP_MOD = pdp_freeframe.o
# build basic image processing modules (derived from base class)
all: $(PDP_MOD)
- $(CC) --export_dynamic -shared -o pdp_freeframe.pd_linux *.o $(PDP_LIBS)
+ $(CC) -Wl,--export-dynamic -shared -o pdp_freeframe.pd_linux *.o $(PDP_LIBS)
clean:
rm -f *~
diff --git a/pix_preview/Makefile b/pix_preview/Makefile
index 4478617..e453849 100644
--- a/pix_preview/Makefile
+++ b/pix_preview/Makefile
@@ -18,7 +18,7 @@ all: pix_preview.pd_linux
pix_preview.pd_linux: pix_preview.o
rm -f pix_preview.pd_linux
- gcc -export_dynamic -shared -o pix_preview.pd_linux pix_preview.o $(LIBS)
+ gcc -Wl,--export-dynamic -shared -o pix_preview.pd_linux pix_preview.o $(LIBS)
clean:
rm -f *.o
diff --git a/pix_preview/Makefile.in b/pix_preview/Makefile.in
index 42a1168..9faf2d2 100755
--- a/pix_preview/Makefile.in
+++ b/pix_preview/Makefile.in
@@ -18,7 +18,7 @@ all: pix_preview.pd_linux
pix_preview.pd_linux: pix_preview.o
rm -f pix_preview.pd_linux
- gcc -export_dynamic -shared -o pix_preview.pd_linux pix_preview.o $(LIBS)
+ gcc -Wl,--export-dynamic -shared -o pix_preview.pd_linux pix_preview.o $(LIBS)
clean:
rm -f *.o
diff --git a/videogrid/Makefile b/videogrid/Makefile
index 82cb051..8c447a6 100755
--- a/videogrid/Makefile
+++ b/videogrid/Makefile
@@ -22,7 +22,7 @@ LINUXINCLUDE = -I$(PD_SRC) -I/usr/include/
.cc.pd_linux:
g++ $(FFMPEG_HEADERS) -I$(PD_SRC) -fPIC -c -O -o videogrid.o videogrid.cc
# ./tk2c.bash < $*.tk > $*.tk2c
- g++ $(FFMPEG_HEADERS) -export_dynamic -shared -o videogrid.pd_linux videogrid.o -lavformat -lavcodec -lavutil -lquicktime
+ g++ $(FFMPEG_HEADERS) -Wl,--export-dynamic -shared -o videogrid.pd_linux videogrid.o -lavformat -lavcodec -lavutil -lquicktime
rm -f $*.o
# ----------------------------------------------------------