summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa')
-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)