From 2894634829aa672aac3b94a0a01a40d5af8ccbf0 Mon Sep 17 00:00:00 2001 From: Joe Eli McIlvain Date: Wed, 28 Jan 2015 17:30:35 -0800 Subject: [PATCH] Problem: qt-android build script out of date Solution: copy changes from latest zproject --- builds/qt-android/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/builds/qt-android/build.sh b/builds/qt-android/build.sh index c6107a49..8f2c19f3 100755 --- a/builds/qt-android/build.sh +++ b/builds/qt-android/build.sh @@ -16,8 +16,15 @@ android_build_opts # Use a temporary build directory cache="/tmp/android_build/${TOOLCHAIN_NAME}" +rm -rf "${cache}" mkdir -p "${cache}" +# Check for environment variable to clear the prefix and do a clean build +if [[ $ANDROID_BUILD_CLEAN ]]; then + echo "Doing a clean build (removing previous build and depedencies)..." + rm -rf "${ANDROID_BUILD_PREFIX}"/* +fi + ## # Build libsodium from latest release tarball