When passed WITH_MACPORTS to make, add /opt/local/{include,lib} to the search paths for Cocoa builds.

svn path=/trunk/netsurf/; revision=12286
This commit is contained in:
François Revel 2011-05-06 23:58:58 +00:00
parent 6b0982c2e3
commit 0cc1dade3c

View File

@ -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