mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 10:50:23 +01:00
mesa: Use the python executable from sys.executable.
From Ramesh Dharan <rrdharan@vmware.com>
This commit is contained in:
parent
c97e5e1fc1
commit
ec30d1b2e5
1 changed files with 4 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue