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: