Fix fil extension for ndk (bin i.s.o. zip)

This commit is contained in:
ZenCODE 2017-02-22 21:09:38 +02:00
parent a4994afb0f
commit a6b4c6be20

View file

@ -292,7 +292,7 @@ class TargetAndroid(Target):
elif platform.startswith('linux'):
if int(_version) > 9: # if greater than 9, take it as .bin file
archive = 'android-ndk-r{0}-linux-{1}.zip'
archive = 'android-ndk-r{0}-linux-{1}.bin'
else:
archive = 'android-ndk-r{0}-linux-{1}.tar.bz2'
is_64 = (os.uname()[4] == 'x86_64')