From: José Fonseca Date: Fri, 27 Mar 2009 19:13:21 +0000 (+0000) Subject: mesa: Use the python executable from sys.executable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec30d1b2e5738264ca2ab2ce23d9fce2b9c7a2ce;p=mesa.git mesa: Use the python executable from sys.executable. From Ramesh Dharan --- diff --git a/src/gallium/auxiliary/indices/SConscript b/src/gallium/auxiliary/indices/SConscript index e5f7ee94845..712e215534f 100644 --- 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(