iOS: fix libzip build instructions

Recent libzip no longer supports autotools.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-08-04 14:36:58 -07:00
parent 93983b7e4c
commit d81a2c812b

View file

@ -152,7 +152,11 @@ for ARCH in $ARCHS; do
if [ ! -e $PKG_CONFIG_LIBDIR/libzip.pc ] ; then
mkdir -p build-ios/libzip-build-$ARCH_NAME
pushd build-ios/libzip-build-$ARCH_NAME
${SSRF_CLONE}/libzip/configure --host=${BUILDCHAIN} --prefix=${PREFIX} --enable-static --disable-shared
cmake -DBUILD_SHARED_LIBS="OFF" \
-DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN_FILE" \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DCMAKE_PREFIX_PATH=${PREFIX} \
${SSRF_CLONE}/libzip
make
make install
popd