aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-04-03 14:29:12 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-04-04 00:59:22 -0400
commit9c381c5317a10f797fac9d81d8d27fb68a612018 (patch)
treea9cdebb6d7982f03113e5d15d9596f828e44d940
parent4965126eb82ba56bda9c8651350660d1bf142f31 (diff)
Unbreak emconfigure et all
The line: WINDOWS = 'win' in sys.platform was misfiring for sys.platform == 'darwin'. 'nough said.
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 6fa4444e..e11dc95a 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -184,7 +184,7 @@ else:
if 'gcparam' not in str(SPIDERMONKEY_ENGINE):
SPIDERMONKEY_ENGINE += ['-e', "gcparam('maxBytes', 1024*1024*1024);"] # Our very large files need lots of gc heap
-WINDOWS = 'win' in sys.platform
+WINDOWS = sys.platform.startswith ('win')
# Temp file utilities