From 0cc1dade3c6b7c560f0472f0feeaef5065417416 Mon Sep 17 00:00:00 2001 From: François Revel Date: Fri, 6 May 2011 23:58:58 +0000 Subject: When passed WITH_MACPORTS to make, add /opt/local/{include,lib} to the search paths for Cocoa builds. svn path=/trunk/netsurf/; revision=12286 --- cocoa/Makefile.target | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cocoa') diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target index 367278087..53ec553d6 100644 --- a/cocoa/Makefile.target +++ b/cocoa/Makefile.target @@ -17,6 +17,11 @@ # shut up zconf.h and zlib.h #CFLAGS += -D_LARGEFILE64_SOURCE=1 +ifneq ($(WITH_MACPORTS),) + LDFLAGS += -L/opt/local/lib + CFLAGS += -I/opt/local/include +endif + # for timerisset() CFLAGS += -D_DARWIN_C_SOURCE -- cgit v1.2.3