From d81a2c812bc77b7693f8d665c086166ffabc0ec9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 4 Aug 2018 14:36:58 -0700 Subject: iOS: fix libzip build instructions Recent libzip no longer supports autotools. Signed-off-by: Dirk Hohndel --- packaging/ios/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packaging/ios/build.sh') diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index 266ffcda1..64a2d97c4 100755 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -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 -- cgit v1.2.3-70-g09d2