Fix Android build error with SCons 3.0

Not sure why this happens without having upgraded Python itself, but is needed now.

Not needed for _master_ because there we have b6e1e47e3a that does this and more.

This commit does not address upgrading to Python 3.0. It just makes building for Android work again after upgrading SCons while keeping Python 2.7.
This commit is contained in:
Pedro J. Estébanez 2017-10-14 20:34:13 +02:00
parent fd8a71397d
commit f50e5dc594

View File

@ -153,7 +153,7 @@ elif env['android_arch'] == 'armv7':
elif env['android_arch'] == 'x86':
lib_arch_dir = 'x86'
else:
print 'WARN: Architecture not suitable for embedding into APK; keeping .so at \\bin'
print('WARN: Architecture not suitable for embedding into APK; keeping .so at \\bin')
if lib_arch_dir != '':
if env['target'] == 'release':