mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Fix more comments for iobuild.sh
Change-Id: If97af61a00c0f2dfbd09758c121a9ddd9536b6d1
This commit is contained in:
parent
daa06476e1
commit
fe4d25ddad
@ -13,7 +13,7 @@ set -e
|
|||||||
|
|
||||||
# Extract the latest SDK version from the final field of the form: iphoneosX.Y
|
# Extract the latest SDK version from the final field of the form: iphoneosX.Y
|
||||||
declare -r SDK=$(xcodebuild -showsdks \
|
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}
|
declare -r OLDPATH=${PATH}
|
||||||
|
|
||||||
@ -72,12 +72,13 @@ for PLATFORM in ${PLATFORMS}; do
|
|||||||
export PATH="${DEVROOT}/usr/bin:${OLDPATH}"
|
export PATH="${DEVROOT}/usr/bin:${OLDPATH}"
|
||||||
|
|
||||||
${SRCDIR}/configure --host=${ARCH}-apple-darwin --prefix=${ROOTDIR} \
|
${SRCDIR}/configure --host=${ARCH}-apple-darwin --prefix=${ROOTDIR} \
|
||||||
|
--build=$(${SRCDIR}/config.guess) \
|
||||||
--disable-shared --enable-static \
|
--disable-shared --enable-static \
|
||||||
--enable-libwebpdecoder --enable-swap-16bit-csp
|
--enable-libwebpdecoder --enable-swap-16bit-csp
|
||||||
|
|
||||||
# run make only in the src/ directory to create libwebpdecoder.a
|
# run make only in the src/ directory to create libwebpdecoder.a
|
||||||
cd src/
|
cd src/
|
||||||
make
|
make V=0
|
||||||
make install
|
make install
|
||||||
|
|
||||||
LIBLIST+=" ${ROOTDIR}/lib/libwebpdecoder.a"
|
LIBLIST+=" ${ROOTDIR}/lib/libwebpdecoder.a"
|
||||||
@ -88,5 +89,5 @@ for PLATFORM in ${PLATFORMS}; do
|
|||||||
export PATH=${OLDPATH}
|
export PATH=${OLDPATH}
|
||||||
done
|
done
|
||||||
|
|
||||||
cp -a src/webp/* ${TARGETDIR}/Headers/
|
cp -a ${SRCDIR}/src/webp/* ${TARGETDIR}/Headers/
|
||||||
${LIPO} -create ${LIBLIST} -output ${TARGETDIR}/WebP
|
${LIPO} -create ${LIBLIST} -output ${TARGETDIR}/WebP
|
||||||
|
Loading…
Reference in New Issue
Block a user