diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-08-04 14:36:58 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-04 15:07:04 -0700 |
commit | d81a2c812bc77b7693f8d665c086166ffabc0ec9 (patch) | |
tree | 501b7220c9ccb9ba3b54ce72e1da9f0cb512e0a6 | |
parent | 93983b7e4c0ad72c61c98a87132c6274b4640c16 (diff) | |
download | subsurface-d81a2c812bc77b7693f8d665c086166ffabc0ec9.tar.gz |
iOS: fix libzip build instructions
Recent libzip no longer supports autotools.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rwxr-xr-x | packaging/ios/build.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |