mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
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:
parent
6b0982c2e3
commit
0cc1dade3c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user