diff options
author | Keith Whitwell <[email protected]> | 2010-05-19 13:27:31 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-05-19 13:36:05 +0100 |
commit | a536c204e289c46b0d493acfb4ebaf99f2b05189 (patch) | |
tree | 7a969eba634ef8a2b1b3882de175662099603bbb /common.py | |
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
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common.py b/common.py index 742dabf4c45..300e91a3766 100644 --- a/common.py +++ b/common.py @@ -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 |