From 72706b6bafbe211b35fc2270aa315a8933812eec Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 14 Apr 2014 19:29:58 +0200 Subject: [PATCH] Add iOS 5 SDK detection --- libretro-build-ios.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libretro-build-ios.sh b/libretro-build-ios.sh index 3b05f0c7..ca80a723 100755 --- a/libretro-build-ios.sh +++ b/libretro-build-ios.sh @@ -16,6 +16,11 @@ IOS=1 IOSSDKLOC="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/" +if [ -d "${IOSSDKLOC}iPhoneOS5.0.sdk" ]; then + echo "iOS 5.0 SDK detected" + IOSVER=50 + IOSSDKLOC="${IOSSDKLOC}iPhoneOS5.0.sdk" +fi if [ -d "${IOSSDKLOC}iPhoneOS6.0.sdk" ]; then echo "iOS 6.0 SDK detected" IOSVER=60