Browse Source

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

Randy Tan Shaoxian 8 years ago
parent
commit
c9d7f77c6f
1 changed files with 1 additions and 1 deletions
  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: