From fe4d25ddad6f4066035b6adf06825ff2d5e799a1 Mon Sep 17 00:00:00 2001 From: Vikas Arora Date: Fri, 25 Jan 2013 16:06:21 -0800 Subject: [PATCH] Fix more comments for iobuild.sh Change-Id: If97af61a00c0f2dfbd09758c121a9ddd9536b6d1 --- iosbuild.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/iosbuild.sh b/iosbuild.sh index ac0f1464..b38be6fc 100755 --- a/iosbuild.sh +++ b/iosbuild.sh @@ -13,7 +13,7 @@ set -e # Extract the latest SDK version from the final field of the form: iphoneosX.Y declare -r SDK=$(xcodebuild -showsdks \ - | grep iphoneos | sort | tail -n 1 | awk '{ print substr($NF, 9)}' + | grep iphoneos | sort | tail -n 1 | awk '{print substr($NF, 9)}' ) declare -r OLDPATH=${PATH} @@ -72,12 +72,13 @@ for PLATFORM in ${PLATFORMS}; do export PATH="${DEVROOT}/usr/bin:${OLDPATH}" ${SRCDIR}/configure --host=${ARCH}-apple-darwin --prefix=${ROOTDIR} \ + --build=$(${SRCDIR}/config.guess) \ --disable-shared --enable-static \ --enable-libwebpdecoder --enable-swap-16bit-csp # run make only in the src/ directory to create libwebpdecoder.a cd src/ - make + make V=0 make install LIBLIST+=" ${ROOTDIR}/lib/libwebpdecoder.a" @@ -88,5 +89,5 @@ for PLATFORM in ${PLATFORMS}; do export PATH=${OLDPATH} done -cp -a src/webp/* ${TARGETDIR}/Headers/ +cp -a ${SRCDIR}/src/webp/* ${TARGETDIR}/Headers/ ${LIPO} -create ${LIBLIST} -output ${TARGETDIR}/WebP