From ada27b54eb7ad63d28a49b61281d88e646036d1b Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Fri, 14 Sep 2012 18:19:17 +0400 Subject: [PATCH] NDK detection bug fix. --- android/scripts/ABI_compat_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/scripts/ABI_compat_generator.py b/android/scripts/ABI_compat_generator.py index 638c690ea2..462ac1bca6 100755 --- a/android/scripts/ABI_compat_generator.py +++ b/android/scripts/ABI_compat_generator.py @@ -71,7 +71,7 @@ if (not ANDROID_NDK_PATH): while(not tmp): tmp = str.strip(pipe.readline(), "\n") pipe.close() - ANDROID_NDK_PATH = tmp + ANDROID_NDK_PATH = os.path.split(tmp)[0] print("Using Android NDK from PATH (\"%s\")" % ANDROID_NDK_PATH) print("Using Android SDK from \"%s\"" % ANDROID_SDK_PATH)