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}