diff options
author | Sven Weidauer <sven@5sw.de> | 2017-06-01 20:43:06 +0200 |
---|---|---|
committer | Sven Weidauer <sven@5sw.de> | 2017-06-05 10:51:18 +0200 |
commit | ce4e059ea67cee7f35b4b810a4387f343fa74650 (patch) | |
tree | 1215e902da88beee673435603c54a17870af4fa6 | |
parent | 6b2425b375ee2e9ae0cd50d94493efb2256ebd80 (diff) | |
download | netsurf-ce4e059ea67cee7f35b4b810a4387f343fa74650.tar.gz netsurf-ce4e059ea67cee7f35b4b810a4387f343fa74650.tar.bz2 |
Fix detection of the OS X SDK.
-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) |