Change the implementation of checking NDK path on windows.

This commit is contained in:
zhangbin 2016-06-23 17:09:07 +08:00
parent ec5155137f
commit c2d930df00
1 changed files with 5 additions and 1 deletions

View File

@ -356,7 +356,11 @@ class SetEnvVar(object):
if not ndk_root:
return False
if self._isWindows():
ndk_build_path = os.path.join(ndk_root, 'ndk-build.cmd')
else:
ndk_build_path = os.path.join(ndk_root, 'ndk-build')
if os.path.isfile(ndk_build_path):
return True
else: