Don't use xcrun for setting IOSSDK
authorT. Joseph Carter <iKarith@users.noreply.github.com>
Tue, 10 Mar 2015 08:31:52 +0000 (01:31 -0700)
committerT. Joseph Carter <iKarith@users.noreply.github.com>
Tue, 10 Mar 2015 08:31:52 +0000 (01:31 -0700)
Makefile.libretro

index 2210e9c..70a7c14 100644 (file)
@@ -61,7 +61,7 @@ else ifeq ($(platform), ios)
        SHARED := -dynamiclib
 
        ifeq ($(IOSSDK),)
-               IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path)
+               IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
        endif
 
        CC = clang -arch armv7 -isysroot $(IOSSDK)