aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ios
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-04 14:36:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-04 15:07:04 -0700
commitd81a2c812bc77b7693f8d665c086166ffabc0ec9 (patch)
tree501b7220c9ccb9ba3b54ce72e1da9f0cb512e0a6 /packaging/ios
parent93983b7e4c0ad72c61c98a87132c6274b4640c16 (diff)
downloadsubsurface-d81a2c812bc77b7693f8d665c086166ffabc0ec9.tar.gz
iOS: fix libzip build instructions
Recent libzip no longer supports autotools. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios')
-rwxr-xr-xpackaging/ios/build.sh6
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