diff options
author | François Revel <mmu_man@netsurf-browser.org> | 2011-05-06 23:58:58 +0000 |
---|---|---|
committer | François Revel <mmu_man@netsurf-browser.org> | 2011-05-06 23:58:58 +0000 |
commit | 0cc1dade3c6b7c560f0472f0feeaef5065417416 (patch) | |
tree | aa6ee1c0c3d488185589632d128934af605c2bcb /cocoa | |
parent | 6b0982c2e35a539855ac03b77c4626fbfecd5f4d (diff) | |
download | netsurf-0cc1dade3c6b7c560f0472f0feeaef5065417416.tar.gz netsurf-0cc1dade3c6b7c560f0472f0feeaef5065417416.tar.bz2 |
When passed WITH_MACPORTS to make, add /opt/local/{include,lib} to the search paths for Cocoa builds.
svn path=/trunk/netsurf/; revision=12286
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/Makefile.target | 5 |
1 files changed, 5 insertions, 0 deletions
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 |