(iOS) Use xcodebuild instead of xcrun
This commit is contained in:
parent
ad90c5cad0
commit
5b28007ceb
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -109,7 +109,7 @@ else ifeq ($(platform), ios)
|
||||||
CPU_ARCH := arm
|
CPU_ARCH := arm
|
||||||
|
|
||||||
ifeq ($(IOSSDK),)
|
ifeq ($(IOSSDK),)
|
||||||
IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path)
|
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||||
|
|
Loading…
Add table
Reference in a new issue