We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8611241 commit b4c65bfCopy full SHA for b4c65bf
projects/unix/Makefile
@@ -122,9 +122,7 @@ ifeq ($(OS), LINUX)
122
LDLIBS += -ldl
123
endif
124
ifeq ($(OS), OSX)
125
- #xcode-select has been around since XCode 3.0, i.e. OS X 10.5
126
- OSX_SDK_ROOT = $(shell xcode-select -print-path)/Platforms/MacOSX.platform/Developer/SDKs
127
- OSX_SDK_PATH = $(OSX_SDK_ROOT)/$(shell ls $(OSX_SDK_ROOT) | tail -1)
+ OSX_SDK_PATH = $(shell xcrun --sdk macosx --show-sdk-path)
128
129
ifeq ($(CPU), X86)
130
ifeq ($(ARCH_DETECTED), 64BITS)
0 commit comments