Merge pull request #5 from iKarith/master
authorTwinaphex <libretro@gmail.com>
Tue, 10 Mar 2015 10:37:22 +0000 (11:37 +0100)
committerTwinaphex <libretro@gmail.com>
Tue, 10 Mar 2015 10:37:22 +0000 (11:37 +0100)
Don't use xcrun for setting IOSSDK

Makefile.libretro

index 01a3c77..c5c271a 100644 (file)
@@ -69,7 +69,7 @@ else ifeq ($(platform), ios)
    APPLE := 1
 
 ifeq ($(IOSSDK),)
-   IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path)
+   IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
 endif
 
    CC = clang -arch armv7 -isysroot $(IOSSDK)