Kaydet (Commit) 99534540 authored tarafından jan Iversen's avatar jan Iversen

iOS, added IOS_DEPLOYMENT_VERSION

Change-Id: Ie72c8303011df8a4e0e489ab505e619bd7a40e12
üst 944da4b7
......@@ -622,6 +622,7 @@ export WPG_LIBS=$(gb_SPACE)@WPG_LIBS@
export WPS_CFLAGS=$(gb_SPACE)@WPS_CFLAGS@
export WPS_LIBS=$(gb_SPACE)@WPS_LIBS@
export IOS_SDK=@IOS_SDK@
export IOS_DEPLOYMENT_VERSION=@IOS_DEPLOYMENT_VERSION@
export XINERAMA_LINK=@XINERAMA_LINK@
export XMLLINT=@XMLLINT@
export XMLSEC_CFLAGS=$(gb_SPACE)@XMLSEC_CFLAGS@
......
......@@ -2845,17 +2845,17 @@ dnl ===================================================================
if test $_os = iOS; then
AC_MSG_CHECKING([what iOS SDK to use])
current_sdk_ver=11.1
if test "$enable_ios_simulator" = "yes"; then
platform=iPhoneSimulator
versionmin=-mios-simulator-version-min=11.1
versionmin=-mios-simulator-version-min=$current_sdk_ver
else
platform=iPhoneOS
versionmin=-miphoneos-version-min=11.1
versionmin=-miphoneos-version-min=$current_sdk_ver
fi
xcode_developer=`xcode-select -print-path`
current_sdk_ver=11.1
for sdkver in 11.1; do
for sdkver in $current_sdk_ver; do
t=$xcode_developer/Platforms/$platform.platform/Developer/SDKs/$platform$sdkver.sdk
if test -d $t; then
ios_sdk=$sdkver
......@@ -2871,6 +2871,7 @@ if test $_os = iOS; then
AC_MSG_RESULT($sysroot)
IOS_SDK=`echo $platform | tr A-Z a-z`$ios_sdk
IOS_DEPLOYMENT_VERSION=$current_sdk_ver
# LTO is not really recommended for iOS builds,
# the link time will be astronomical
......@@ -2892,6 +2893,7 @@ if test $_os = iOS; then
fi
AC_SUBST(IOS_SDK)
AC_SUBST(IOS_DEPLOYMENT_VERSION)
AC_MSG_CHECKING([whether to treat the installation as read-only])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment