From a536c204e289c46b0d493acfb4ebaf99f2b05189 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 19 May 2010 13:27:31 +0100 Subject: [PATCH] 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(-) 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 -- 2.30.2