mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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:
parent
5a5a82d7e8
commit
a536c204e2
1 changed files with 1 additions and 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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue