mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
scons: Disable python state tracker when swig is not present.
This commit is contained in:
parent
0fd41d236f
commit
583e41855b
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ if env['toolchain'] == 'crossmingw':
|
|||
# Cross-compilation not supported
|
||||
Return()
|
||||
|
||||
if not env.Detect(['swig']):
|
||||
Return()
|
||||
|
||||
env = env.Clone()
|
||||
|
||||
env.Tool('python')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue