aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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
commit52277a0ca0e92be48029a85cc75ac26779b11f84 (patch)
treeadff3e50c3d79ee707002f667076643f78969ce2 /Makefile
parent4a4e8f11ab8171cf56ab7e8993b7a743e24de3fe (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_opencv/; revision=11724
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e96750..4d0f81a 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 = --export-dynamic -shared
LIBS = `pkg-config --libs opencv`
EXTENSION = pd_linux
endif