Added support for NDK r6b

This commit is contained in:
pelya
2011-10-10 18:16:34 +03:00
parent 63af8c0944
commit 7145c352a8
3 changed files with 24 additions and 10 deletions

View File

@@ -14,11 +14,14 @@ LOCAL_PATH=`cd $LOCAL_PATH && pwd`
SCRIPT=setEnvironment-r4b.sh
CRYSTAX_WCHAR=
if [ -n "`echo $NDK | grep 'android-ndk-r[56]'`" ]; then
if [ -n "`echo $NDK | grep 'android-ndk-r[56789]'`" ]; then
SCRIPT=setEnvironment-r5b.sh
if [ -n "`echo $NDK | grep 'android-ndk-r5-crystax-1'`" ]; then
if [ -n "`echo $NDK | grep 'android-ndk-r[56789]-crystax'`" ]; then
CRYSTAX_WCHAR=1
fi
if [ -n "`echo $NDK | grep 'android-ndk-r[6789]'`" ]; then
MISSING_LIBCXX_PATH=1
fi
fi
env CRYSTAX_WCHAR=$CRYSTAX_WCHAR $LOCAL_PATH/$SCRIPT "$@"