Actually allow it
This commit is contained in:
parent
03ea6dc708
commit
0f73282e4e
2
Makefile
2
Makefile
@ -126,7 +126,7 @@ endif
|
|||||||
ifeq ($(PLATFORM),Darwin)
|
ifeq ($(PLATFORM),Darwin)
|
||||||
SYSROOT := $(shell xcodebuild -sdk macosx -version Path 2> $(NULL))
|
SYSROOT := $(shell xcodebuild -sdk macosx -version Path 2> $(NULL))
|
||||||
ifeq ($(SYSROOT),)
|
ifeq ($(SYSROOT),)
|
||||||
SYSROOT := $(shell ls /Library/Developer/CommandLineTools/SDKs/ | grep 10 | tail -n 1)
|
SYSROOT := /Library/Developer/CommandLineTools/SDKs/$(shell ls /Library/Developer/CommandLineTools/SDKs/ | grep 10 | tail -n 1)
|
||||||
endif
|
endif
|
||||||
ifeq ($(SYSROOT),)
|
ifeq ($(SYSROOT),)
|
||||||
$(error Could not find a macOS SDK)
|
$(error Could not find a macOS SDK)
|
||||||
|
Loading…
Reference in New Issue
Block a user