Merge pull request #6877 from ranmaru90/2.1

Fixed tiny error in detect.py causing compilation for Android to fail.
This commit is contained in:
Rémi Verschelde 2016-10-22 13:03:35 +02:00 committed by GitHub
commit 56b03e7208
1 changed files with 1 additions and 1 deletions

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: