Accept iOS SDK 9.3 (and let's forget 8.x)
(But building for iOS has bit-rotted in several other ways, sure. I have no plan to fix that.) Change-Id: I7617cdd363cd1f3750b1afa999de5f654b9f09fa
This commit is contained in:
@@ -3068,8 +3068,8 @@ if test $_os = iOS; then
|
||||
|
||||
xcode_developer=`xcode-select -print-path`
|
||||
|
||||
current_sdk_ver=9.2
|
||||
for sdkver in 9.2 9.1 9.0 8.4 8.3 8.2 8.1 8.0; do
|
||||
current_sdk_ver=9.3
|
||||
for sdkver in 9.3 9.2; do
|
||||
t=$xcode_developer/Platforms/$platform.platform/Developer/SDKs/$platform$sdkver.sdk
|
||||
if test -d $t; then
|
||||
ios_sdk=$sdkver
|
||||
@@ -3079,7 +3079,7 @@ if test $_os = iOS; then
|
||||
done
|
||||
|
||||
if test -z "$sysroot"; then
|
||||
AC_MSG_ERROR([Could not find iOS SDK, expected something like $xcode_developer/Platforms/$platform.platform/Developer/SDKs/${platform}${current_sdk_ver}])
|
||||
AC_MSG_ERROR([Could not find iOS SDK, expected something like $xcode_developer/Platforms/$platform.platform/Developer/SDKs/${platform}${current_sdk_ver}.sdk])
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT($sysroot)
|
||||
|
Reference in New Issue
Block a user