projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd41d2
)
scons: Disable python state tracker when swig is not present.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 1 Nov 2010 15:27:34 +0000
(15:27 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 1 Nov 2010 15:27:34 +0000
(15:27 +0000)
src/gallium/state_trackers/python/SConscript
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/SConscript
b/src/gallium/state_trackers/python/SConscript
index 5cb7960f9b59e5fec1708cfbb428995b14845016..b8371865a61a6c4da63b2d831c525948a54d8c1c 100644
(file)
--- 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')