Merge pull request #1331 from jemc/master

Problem: qt-android build script out of date
This commit is contained in:
Constantin Rack 2015-01-29 07:45:56 +01:00
commit 9fc0d2f1a3

View File

@ -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