aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ios/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/ios/build.sh')
-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