diff options
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/python/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/SConscript b/src/gallium/state_trackers/python/SConscript index 5cb7960f9b5..b8371865a61 100644 --- a/src/gallium/state_trackers/python/SConscript +++ b/src/gallium/state_trackers/python/SConscript @@ -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') |