diff options
-rw-r--r-- | frontends/cocoa/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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) |