mirror of https://github.com/axmolengine/axmol.git
Change the implementation of checking NDK path on windows.
This commit is contained in:
parent
ec5155137f
commit
c2d930df00
6
setup.py
6
setup.py
|
@ -356,7 +356,11 @@ class SetEnvVar(object):
|
|||
if not ndk_root:
|
||||
return False
|
||||
|
||||
ndk_build_path = os.path.join(ndk_root, 'ndk-build')
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue