summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRandy Tan Shaoxian <ranmaru90@gmail.com>2016-10-20 21:17:21 +0800
committerRĂ©mi Verschelde <rverschelde@gmail.com>2016-10-22 13:04:13 +0200
commit638a31d972bae0906d3dd7c1170e3f4720298b66 (patch)
tree7fc77804431388b957d430ab4ecd33acb5b11bfe /platform/android
parentee6c5c5c232f3b458e7e4130c0e771ea456a4eeb (diff)
Fixed tiny error in detect.py causing compilation for Android to fail.
(cherry picked from commit c9d7f77c6ffea4691fba2071caec2d63d927b4d1)
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/detect.py2
1 files changed, 1 insertions, 1 deletions
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: