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`
|
xcode_developer=`xcode-select -print-path`
|
||||||
|
|
||||||
current_sdk_ver=9.2
|
current_sdk_ver=9.3
|
||||||
for sdkver in 9.2 9.1 9.0 8.4 8.3 8.2 8.1 8.0; do
|
for sdkver in 9.3 9.2; do
|
||||||
t=$xcode_developer/Platforms/$platform.platform/Developer/SDKs/$platform$sdkver.sdk
|
t=$xcode_developer/Platforms/$platform.platform/Developer/SDKs/$platform$sdkver.sdk
|
||||||
if test -d $t; then
|
if test -d $t; then
|
||||||
ios_sdk=$sdkver
|
ios_sdk=$sdkver
|
||||||
@@ -3079,7 +3079,7 @@ if test $_os = iOS; then
|
|||||||
done
|
done
|
||||||
|
|
||||||
if test -z "$sysroot"; then
|
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
|
fi
|
||||||
|
|
||||||
AC_MSG_RESULT($sysroot)
|
AC_MSG_RESULT($sysroot)
|
||||||
|
Reference in New Issue
Block a user