mirror of https://github.com/BOINC/boinc.git
Fix NDK_FLAGFILE usage
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
ca71e03fb0
commit
d0c0aba866
|
@ -129,12 +129,11 @@ fi
|
|||
export CURL_SRC=$BUILD_DIR/curl-${CURL_VERSION}
|
||||
|
||||
export NDK_VERSION=17c
|
||||
export NDK_FLAGFILE="$PREFIX/${arch}/NDK-${NDK_VERSION}_done"
|
||||
export NDK_FLAGFILE="$PREFIX/NDK-${NDK_VERSION}-${arch}_done"
|
||||
if [ ! -e "${NDK_FLAGFILE}" ]; then
|
||||
rm -rf "${PREFIX}/${arch}"
|
||||
wget -O /tmp/ndk.zip https://dl.google.com/android/repository/android-ndk-r${NDK_VERSION}-linux-x86_64.zip
|
||||
unzip -qq /tmp/ndk.zip -d $HOME
|
||||
rm -rf "${PREFIX}/${arch}"
|
||||
mkdir -p "${PREFIX}/${arch}"
|
||||
touch "${NDK_FLAGFILE}"
|
||||
fi
|
||||
export NDK_ROOT=$HOME/android-ndk-r${NDK_VERSION}
|
||||
|
|
Loading…
Reference in New Issue