Commit ada27b54 authored by Alexander Smorkalov's avatar Alexander Smorkalov

NDK detection bug fix.

parent 556e6c14
...@@ -71,7 +71,7 @@ if (not ANDROID_NDK_PATH): ...@@ -71,7 +71,7 @@ if (not ANDROID_NDK_PATH):
while(not tmp): while(not tmp):
tmp = str.strip(pipe.readline(), "\n") tmp = str.strip(pipe.readline(), "\n")
pipe.close() 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 NDK from PATH (\"%s\")" % ANDROID_NDK_PATH)
print("Using Android SDK from \"%s\"" % ANDROID_SDK_PATH) print("Using Android SDK from \"%s\"" % ANDROID_SDK_PATH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment