浏览代码

Merge pull request #6877 from ranmaru90/2.1

Fixed tiny error in detect.py causing compilation for Android to fail.
Rémi Verschelde 9 年之前
父节点
当前提交
56b03e7208
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/android/detect.py

+ 1 - 1
platform/android/detect.py

@@ -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: