From 0d8324bfb43ea405b57340e910b05b88e364afaa Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 2 Apr 2020 12:04:11 -0700 Subject: iOS: fix libxslt build We need to build libxml2 without LZMA. We need to make sure that libxslt finds the libxml2 includes. Signed-off-by: Dirk Hohndel --- packaging/ios/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packaging/ios/build.sh') diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index c80e95334..658e117e6 100755 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -146,7 +146,7 @@ for ARCH in $ARCHS; do fi mkdir -p "$PARENT_DIR"/libxml2-build-"$ARCH" pushd "$PARENT_DIR"/libxml2-build-"$ARCH" - "$PARENT_DIR"/libxml2/configure --host=${BUILDCHAIN} --prefix="$PREFIX" --without-python --without-iconv --enable-static --disable-shared + "$PARENT_DIR"/libxml2/configure --host=${BUILDCHAIN} --prefix="$PREFIX" --without-lzma --without-python --without-iconv --enable-static --disable-shared perl -pi -e 's/runtest\$\(EXEEXT\)//' Makefile perl -pi -e 's/testrecurse\$\(EXEEXT\)//' Makefile make @@ -161,7 +161,7 @@ for ARCH in $ARCHS; do if [ ! -e "$PKG_CONFIG_LIBDIR"/libxslt.pc ] ; then mkdir -p "$PARENT_DIR"/libxslt-build-$ARCH pushd "$PARENT_DIR"/libxslt-build-$ARCH - "$PARENT_DIR"/libxslt/configure --host=$BUILDCHAIN --prefix="$PREFIX" --without-python --without-crypto --enable-static --disable-shared + "$PARENT_DIR"/libxslt/configure --host=$BUILDCHAIN --prefix="$PREFIX" --with-libxml-include-prefix="$INSTALL_ROOT"/include/libxml2 --without-python --without-crypto --enable-static --disable-shared make make install popd -- cgit v1.2.3-70-g09d2