From 2a8edfa206a464bee98846c3f1b30ff0cbc55aed Mon Sep 17 00:00:00 2001 From: pancake Date: Fri, 1 Aug 2014 12:44:43 +0200 Subject: [PATCH] Fix android build with latest NDK --- sys/ndk-gcc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/ndk-gcc b/sys/ndk-gcc index 759284377b..6c2d9ced9a 100755 --- a/sys/ndk-gcc +++ b/sys/ndk-gcc @@ -39,6 +39,9 @@ x86) ;; esac +if [ -d "${PROGDIR}/platforms/android-L/arch-${ARCH}" ]; then + ANDROID_SDK_VERSION=L +fi PLATFORM=android-${ANDROID_SDK_VERSION} PLATFORM_ROOT=${PROGDIR}/platforms/${PLATFORM}/arch-${ARCH}