aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/android')
-rwxr-xr-xpackaging/android/build.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 42c0aed94..c2b902037 100755
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -192,9 +192,11 @@ if [ ! -e "$PKG_CONFIG_LIBDIR/sqlite3.pc" ] ; then
fi
${SUBSURFACE_SOURCE}/scripts/get-dep-lib.sh singleAndroid . libxml2
-pushd libxml2
-autoreconf --install
-popd
+if [ ! -e libxml2/configure ] ; then
+ pushd libxml2
+ autoreconf --install
+ popd
+fi
if [ ! -e "$PKG_CONFIG_LIBDIR/libxml-2.0.pc" ] ; then
mkdir -p libxml2-build-"$ARCH"
pushd libxml2-build-"$ARCH"
@@ -207,9 +209,11 @@ if [ ! -e "$PKG_CONFIG_LIBDIR/libxml-2.0.pc" ] ; then
fi
${SUBSURFACE_SOURCE}/scripts/get-dep-lib.sh singleAndroid . libxslt
-pushd libxslt
-autoreconf --install
-popd
+if [ ! -e libxslt/configure ] ; then
+ pushd libxslt
+ autoreconf --install
+ popd
+fi
if [ ! -e "$PKG_CONFIG_LIBDIR/libxslt.pc" ] ; then
mkdir -p libxslt-build-"$ARCH"
pushd libxslt-build-"$ARCH"