scons: don't set default_llvm on windows unles LLVM is defined
Otherwise we'll raise an error later in llvm.py
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user