diff options
author | James Zern <jzern@google.com> | 2014-11-14 16:38:42 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2015-03-02 18:43:14 -0800 |
commit | d0859d69de821515fce81a84105058ddfd41fb48 (patch) | |
tree | 1926c38a098b6d982f496e4e62a3a83c0a9b8d02 | |
parent | 046732ca65979fcc3dc89e03286a6d9a9afc6d87 (diff) | |
download | libwebp-d0859d69de821515fce81a84105058ddfd41fb48.tar.gz |
iosbuild: add x64_64 simulator support
based on the patch here:
https://github.com/pixelkind/webp-ios-build
(cherry picked from commit a96ccf8fdece8ea32d20406bd0c028545ec8534f)
Change-Id: Iaa346b751e5f18e8cf13a8e5c4064b0c2a3f5f6c
-rwxr-xr-x | iosbuild.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/iosbuild.sh b/iosbuild.sh index 304c93b2..edf8225b 100755 --- a/iosbuild.sh +++ b/iosbuild.sh @@ -26,7 +26,9 @@ readonly OLDPATH=${PATH} # Add iPhoneOS-V6 to the list of platforms below if you need armv6 support. # Note that iPhoneOS-V6 support is not available with the iOS6 SDK. -readonly PLATFORMS="iPhoneSimulator iPhoneOS-V7 iPhoneOS-V7s iPhoneOS-V7-arm64" +PLATFORMS="iPhoneSimulator iPhoneSimulator64" +PLATFORMS+=" iPhoneOS-V7 iPhoneOS-V7s iPhoneOS-V7-arm64" +readonly PLATFORMS readonly SRCDIR=$(dirname $0) readonly TOPDIR=$(pwd) readonly BUILDDIR="${TOPDIR}/iosbuild" @@ -78,6 +80,9 @@ for PLATFORM in ${PLATFORMS}; do elif [[ "${PLATFORM}" == "iPhoneOS-V6" ]]; then PLATFORM="iPhoneOS" ARCH="armv6" + elif [[ "${PLATFORM}" == "iPhoneSimulator64" ]]; then + PLATFORM="iPhoneSimulator" + ARCH="x86_64" else ARCH="i386" fi |