summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-12 21:04:19 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-13 17:07:43 -0700
commita529381af24f6458117768c64fbd4e476bf7517a (patch)
treeb3d828784c365b84b6d20e608aea5a9580944c04
parentd931652f69cfec47905fc1d48f3c5dca309966e0 (diff)
downloadsubsurface-a529381af24f6458117768c64fbd4e476bf7517a.tar.gz
iOS: fix build script
The code for building libxml2 and libxslt was broken. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--packaging/ios/build.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh
index 738e7a1c3..1c2a796a2 100644
--- a/packaging/ios/build.sh
+++ b/packaging/ios/build.sh
@@ -134,8 +134,11 @@ echo next building for $ARCH
wget http://api.github.com/repos/GNOME/libxml2/tarball/v${LIBXML2_VERSION} -O libxml2-${LIBXML2_VERSION}.tar.gz
fi
if [ ! -e libxml2-${LIBXML2_VERSION} ] ; then
+ mkdir -p libxml2-${LIBXML2_VERSION}
tar -zxf libxml2-${LIBXML2_VERSION}.tar.gz --strip 1 -C libxml2-${LIBXML2_VERSION}
- tar -zxf libxml2-${LIBXML2_VERSION}.tar.gz
+ pushd libxml2-${LIBXML2_VERSION}
+ autoreconf --install
+ popd
fi
if [ ! -e $PKG_CONFIG_LIBDIR/libxml-2.0.pc ] ; then
mkdir -p libxml2-build-$ARCH
@@ -161,6 +164,9 @@ echo next building for $ARCH
tar -zxf libxslt-${LIBXSLT_VERSION}.tar.gz --strip 1 -C libxslt-${LIBXSLT_VERSION}
# libxslt have too old config.sub
cp libxml2-${LIBXML2_VERSION}/config.sub libxslt-${LIBXSLT_VERSION}
+ pushd libxslt-${LIBXSLT_VERSION}
+ autoreconf --install
+ popd
fi
if [ ! -e $PKG_CONFIG_LIBDIR/libxslt.pc ] ; then
mkdir -p libxslt-build-$ARCH_NAME