From 0349f8ddc12fcbc7fa3c6be925c038ef528e7c92 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 20 Sep 2010 04:11:59 +0000 Subject: 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1