summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-07-20 13:40:01 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-07-29 19:11:50 +0100
commitbdaa8be5b7dce396dd98f05e7ad66d48633cc4cb (patch)
tree62ac497e2642da5947e99b86653286457ae247ab /src/gallium/auxiliary/SConscript
parent111902f2c47377f7d7ea41af6a2a29a087350f17 (diff)
downloadexternal_mesa3d-bdaa8be5b7dce396dd98f05e7ad66d48633cc4cb.zip
external_mesa3d-bdaa8be5b7dce396dd98f05e7ad66d48633cc4cb.tar.gz
external_mesa3d-bdaa8be5b7dce396dd98f05e7ad66d48633cc4cb.tar.bz2
scons: Use the current python executable for code generation.
Less susceptible to be broken.
Diffstat (limited to 'src/gallium/auxiliary/SConscript')
-rw-r--r--src/gallium/auxiliary/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript
index 72a1661..8381ae5 100644
--- a/src/gallium/auxiliary/SConscript
+++ b/src/gallium/auxiliary/SConscript
@@ -34,14 +34,14 @@ env.CodeGenerate(
target = 'util/u_format_table.c',
script = '#src/gallium/auxiliary/util/u_format_table.py',
source = ['#src/gallium/auxiliary/util/u_format.csv'],
- command = 'python $SCRIPT $SOURCE > $TARGET'
+ command = python_cmd + ' $SCRIPT $SOURCE > $TARGET'
)
env.CodeGenerate(
target = 'util/u_half.c',
script = 'util/u_half.py',
source = [],
- command = 'python $SCRIPT > $TARGET'
+ command = python_cmd + ' $SCRIPT > $TARGET'
)
env.Depends('util/u_format_table.c', [