Fixed tiny error in detect.py causing compilation for Android to fail.

This commit is contained in:
Randy Tan Shaoxian 2016-10-20 21:17:21 +08:00
parent 14e45a55d4
commit c9d7f77c6f

View file

@ -133,7 +133,7 @@ def configure(env):
gcc_path=gcc_path+"/darwin-x86_64/bin"
env['SHLINKFLAGS'][1] = '-shared'
env['SHLIBSUFFIX'] = '.so'
elif (os.platform.startswith('win')):
elif (sys.platform.startswith('win')):
if (platform.machine().endswith('64')):
gcc_path=gcc_path+"/windows-x86_64/bin"
else: