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
commit287ba47dad0782e9afb721366788cfe0448c3642 (patch)
tree2a42cfee28d8c85bcbeaabbac37791a0a0a9767e
parentdedb814cdb1cd4a6d88fae3ce8229620badd006b (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/pix_opencv/; revision=11724
-rw-r--r--Makefile2
-rwxr-xr-xMakefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a497264..df7f630 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ CPPFLAGS = -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
UNAME := $(shell uname -s)
ifeq ($(UNAME),Linux)
INCLUDES += `pkg-config --cflags opencv`
- LDFLAGS = -export_dynamic -shared
+ LDFLAGS = -Wl,--export-dynamic -shared
LIBS = `pkg-config --libs opencv`
EXTENSION = pd_linux
endif
diff --git a/Makefile.in b/Makefile.in
index c85b59e..50b6bc3 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -16,7 +16,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