mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 22:28:22 +01:00
iosbuild: make iOS 6 the minimum requirement
iOS 5 support isn't available in the Xcode 6 install; iOS 6 covers phones starting at the 3GS, so should be a reasonable base line Change-Id: Ie5603c9e30cb52114b372509e183febbf679a69a
This commit is contained in:
parent
fdd6528ba2
commit
9f7d9e6dda
10
iosbuild.sh
10
iosbuild.sh
@ -35,8 +35,8 @@ LIBLIST=''
|
|||||||
if [[ -z "${SDK}" ]]; then
|
if [[ -z "${SDK}" ]]; then
|
||||||
echo "iOS SDK not available"
|
echo "iOS SDK not available"
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ ${SDK} < 4.0 ]]; then
|
elif [[ ${SDK} < 6.0 ]]; then
|
||||||
echo "You need iOS SDK version 4.0 or above"
|
echo "You need iOS SDK version 6.0 or above"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "iOS SDK Version ${SDK}"
|
echo "iOS SDK Version ${SDK}"
|
||||||
@ -78,12 +78,10 @@ for PLATFORM in ${PLATFORMS}; do
|
|||||||
if [[ -z "${XCODE}" ]]; then
|
if [[ -z "${XCODE}" ]]; then
|
||||||
echo "XCODE not available"
|
echo "XCODE not available"
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ ${SDK} < 5.0.0 ]]; then
|
|
||||||
DEVROOT="${PLATFORMSROOT}/${PLATFORM}.platform/Developer/"
|
|
||||||
else
|
else
|
||||||
DEVROOT="${DEVELOPER}/Toolchains/XcodeDefault.xctoolchain"
|
DEVROOT="${DEVELOPER}/Toolchains/XcodeDefault.xctoolchain"
|
||||||
CFLAGS+=" -miphoneos-version-min=5.0"
|
CFLAGS+=" -miphoneos-version-min=6.0"
|
||||||
LDFLAGS+=" -miphoneos-version-min=5.0"
|
LDFLAGS+=" -miphoneos-version-min=6.0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user