summaryrefslogtreecommitdiff
path: root/cocoa/Makefile.target
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-07 23:35:37 +0000
committerVincent Sanders <vince@kyllikki.org>2016-02-07 23:35:37 +0000
commit67bdf81ca9a6d73f11b6f86232c42566994def53 (patch)
tree6e825064930d33e2508d425a6498a0da31a1feb0 /cocoa/Makefile.target
parent75dd6fe6ac2c5e2fb18967185c0543ed9554d836 (diff)
downloadnetsurf-67bdf81ca9a6d73f11b6f86232c42566994def53.tar.gz
netsurf-67bdf81ca9a6d73f11b6f86232c42566994def53.tar.bz2
fix cocoa SDK awk invocation
Diffstat (limited to 'cocoa/Makefile.target')
-rw-r--r--cocoa/Makefile.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index 70b6a5a4c..619a2b84f 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -22,7 +22,7 @@ endif
# for timerisset()
CFLAGS += -D_DARWIN_C_SOURCE
-SDK_PARAM := $(shell xcodebuild -showsdks | awk '/^$/{p=0};p; /OS X SDKs:/{p=1}' | tail -1 | cut -f3)
+SDK_PARAM := $(shell xcodebuild -showsdks | awk '/^$$/{p=0};p; /OS X SDKs:/{p=1}' | tail -1 | cut -f3)
SDK_PATH ?= $(shell xcodebuild -version $(SDK_PARAM) Path)
SDK_FLAGS := -isysroot $(SDK_PATH) -mmacosx-version-min=$(MACOSX_VERSION)
CFLAGS := $(SDK_FLAGS) $(CFLAGS)