mesa: Use the python executable from sys.executable.

From Ramesh Dharan <rrdharan@vmware.com>
This commit is contained in:
José Fonseca 2009-03-27 19:13:21 +00:00
parent c97e5e1fc1
commit ec30d1b2e5

View file

@ -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(