aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-20 04:11:59 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-20 04:11:59 +0000
commit0349f8ddc12fcbc7fa3c6be925c038ef528e7c92 (patch)
treec6d06185188de67d704102805b350721db784039 /Makefile
parent84e702368750bba07f231178e1264c2ea4e3929c (diff)
fixed --export-dynamic flag on GNU/Linux and added Pd-extended headers to include path on Mac OS X
svn path=/trunk/externals/pix_opencv/; revision=14159
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index daf788e..89c9310 100644
--- a/Makefile
+++ b/Makefile
@@ -15,13 +15,13 @@ UNAME := $(shell uname -s)
ifeq ($(UNAME),Linux)
CPPFLAGS += -DLINUX
INCLUDES += `pkg-config --cflags opencv`
- LDFLAGS = -export_dynamic -shared
+ LDFLAGS = --export-dynamic -shared
LIBS = `pkg-config --libs opencv`
EXTENSION = pd_linux
endif
ifeq ($(UNAME),Darwin)
CPPFLAGS += -DDARWIN
- INCLUDES += -I/Library/Frameworks/OpenCV.framework/Headers/
+ INCLUDES += -I/Library/Frameworks/OpenCV.framework/Headers/ -I/Applications/Pd-extended.app/Contents/Resources/include/pdextended -I/Applications/Pd-extended.app/Contents/Resources/include/
LDFLAGS = -bundle -undefined dynamic_lookup
LIBS = -lm -framework OpenCV
EXTENSION = pd_darwin