android: Use a ndk toolchain matching sdk version
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
93355821a8
commit
9443b0b86c
@ -80,7 +80,7 @@ fi
|
||||
export QT5_ANDROID_BIN=${QT5_ANDROID}/android_${QT_ARCH}/bin
|
||||
|
||||
if [ ! -e ndk-$ARCH ] ; then
|
||||
$ANDROID_NDK_ROOT/build/tools/make_standalone_toolchain.py --arch=$ARCH --install-dir=ndk-$ARCH --api=14
|
||||
$ANDROID_NDK_ROOT/build/tools/make_standalone_toolchain.py --arch=$ARCH --install-dir=ndk-$ARCH --api=16
|
||||
fi
|
||||
export BUILDROOT=$PWD
|
||||
export PATH=${BUILDROOT}/ndk-$ARCH/bin:$PATH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user