diff options
| author | Keith Whitwell <keithw@vmware.com> | 2010-05-19 13:27:31 +0100 |
|---|---|---|
| committer | Keith Whitwell <keithw@vmware.com> | 2010-05-19 13:36:05 +0100 |
| commit | a536c204e289c46b0d493acfb4ebaf99f2b05189 (patch) | |
| tree | 7a969eba634ef8a2b1b3882de175662099603bbb | |
| parent | 5a5a82d7e88c2971acad026b94e90588b2367a22 (diff) | |
scons: don't set default_llvm on windows unles LLVM is defined
Otherwise we'll raise an error later in llvm.py
| -rw-r--r-- | common.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ if 'LLVM' in os.environ: else: default_llvm = 'no' try: - if subprocess.call(['llvm-config', '--version'], stdout=subprocess.PIPE) == 0: + if env['platform'] != 'windows' and subprocess.call(['llvm-config', '--version'], stdout=subprocess.PIPE) == 0: default_llvm = 'yes' except: pass |
