mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
scons: Used wrong exception class.
This commit is contained in:
parent
b9f56078cd
commit
9216b4e7be
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def generate(env):
|
|||
if env.Detect('llvm-config'):
|
||||
try:
|
||||
env['LLVM_VERSION'] = env.backtick('llvm-config --version')
|
||||
except NameError:
|
||||
except AttributeError:
|
||||
env['LLVM_VERSION'] = 'X.X'
|
||||
|
||||
env.ParseConfig('llvm-config --cppflags')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue