diff wscript @ 21:feceb6130570

Fixed crash in WAF configure target. * Replaced a call to sys.platform with one to platform.system in the wscript that was causing WAF to die because sys hadn't been imported. * Removed an extraneous print statement from waf_paths.py.
author M. George Hansen <technopolitica@gmail.com>
date Wed, 15 Jun 2011 20:15:18 -1000
parents 07ff8cf8a0f1
children a2b1966ebe5a
line wrap: on
line diff
--- a/wscript	Wed Jun 15 13:21:25 2011 -1000
+++ b/wscript	Wed Jun 15 20:15:18 2011 -1000
@@ -22,7 +22,7 @@
 
 def configure(cnf):
     cnf.load('waf_paths python')
-    if sys.platform == 'Windows':
+    if platform.system() == 'Windows':
         min_python_version = (2, 7)
     else:
         min_python_version = (2, 6)