diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-11-01 15:27:34 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-11-01 15:27:34 +0000 |
commit | 583e41855b0ae6b9a102b39ac62238472f4cf05a (patch) | |
tree | 91ed902653815919e6b164ca1f186f07e7cf1652 /src/gallium | |
parent | 0fd41d236fc3e9411180aa4978c021037ba5bbd9 (diff) |
scons: Disable python state tracker when swig is not present.
Diffstat (limited to 'src/gallium')
-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') |