projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c97e5e1
)
mesa: Use the python executable from sys.executable.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 27 Mar 2009 19:13:21 +0000
(19:13 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 27 Mar 2009 19:13:21 +0000
(19:13 +0000)
From Ramesh Dharan <rrdharan@vmware.com>
src/gallium/auxiliary/indices/SConscript
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/indices/SConscript
b/src/gallium/auxiliary/indices/SConscript
index e5f7ee9484571ea91917ad6cbfdee60d5c1ce130..712e215534fa92b118b16f5aee14e988d30a48d4 100644
(file)
--- a/
src/gallium/auxiliary/indices/SConscript
+++ b/
src/gallium/auxiliary/indices/SConscript
@@
-1,17
+1,19
@@
Import('*')
+from sys import executable as python_cmd
+
env.CodeGenerate(
target = 'u_indices_gen.c',
script = 'u_indices_gen.py',
source = [],
- command =
'python
$SCRIPT > $TARGET'
+ command =
python_cmd + '
$SCRIPT > $TARGET'
)
env.CodeGenerate(
target = 'u_unfilled_gen.c',
script = 'u_unfilled_gen.py',
source = [],
- command =
'python
$SCRIPT > $TARGET'
+ command =
python_cmd + '
$SCRIPT > $TARGET'
)
indices = env.ConvenienceLibrary(