From ce4e059ea67cee7f35b4b810a4387f343fa74650 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Thu, 1 Jun 2017 20:43:06 +0200 Subject: Fix detection of the OS X SDK. --- frontends/cocoa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/cocoa/Makefile b/frontends/cocoa/Makefile index a0ebfbb43..7c81a626d 100644 --- a/frontends/cocoa/Makefile +++ b/frontends/cocoa/Makefile @@ -15,7 +15,7 @@ endif ifeq ($(SDK_VERSION),) # if no SDK_VERSION has been specified select one from those available - 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|macOS) SDKs:/{p=1}' | head -1 | cut -f3) SDK_VERSION := $(MACOSX_VERSION) else SDK_PARAM := -sdk macosx$(SDK_VERSION) -- cgit v1.2.3