From 287ba47dad0782e9afb721366788cfe0448c3642 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 9 Jun 2009 17:34:48 +0000 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.1