From c9d7f77c6ffea4691fba2071caec2d63d927b4d1 Mon Sep 17 00:00:00 2001 From: Randy Tan Shaoxian Date: Thu, 20 Oct 2016 21:17:21 +0800 Subject: [PATCH] Fixed tiny error in detect.py causing compilation for Android to fail. --- platform/android/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/android/detect.py b/platform/android/detect.py index 30a4defee00..d0cbe275957 100644 --- a/platform/android/detect.py +++ b/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: