From a536c204e289c46b0d493acfb4ebaf99f2b05189 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 19 May 2010 13:27:31 +0100 Subject: scons: don't set default_llvm on windows unles LLVM is defined Otherwise we'll raise an error later in llvm.py --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.py') diff --git a/common.py b/common.py index 742dabf4c4..300e91a376 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 -- cgit v1.2.3