mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
iOS: fix libzip build instructions
Recent libzip no longer supports autotools. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
93983b7e4c
commit
d81a2c812b
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue