From 638a31d972bae0906d3dd7c1170e3f4720298b66 Mon Sep 17 00:00:00 2001 From: Randy Tan Shaoxian Date: Thu, 20 Oct 2016 21:17:21 +0800 Subject: Fixed tiny error in detect.py causing compilation for Android to fail. (cherry picked from commit c9d7f77c6ffea4691fba2071caec2d63d927b4d1) --- platform/android/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android') diff --git a/platform/android/detect.py b/platform/android/detect.py index acf4ce412a..842036f986 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -131,7 +131,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: -- cgit v1.2.3