From: Vinson Lee Date: Sat, 29 Sep 2012 06:41:29 +0000 (-0700) Subject: scons: Use full path of texture_builtins.py. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0615e8324ca949a5f86614e727122bfb2f230135;p=mesa.git scons: Use full path of texture_builtins.py. Fixes this build error on Cygwin. Explicit dependency `src/glsl/builtins/tools/texture_builtins.py' not found, needed by target `build/cygwin-x86-debug/glsl/builtin_function.cpp'. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- diff --git a/src/glsl/SConscript b/src/glsl/SConscript index b034f3b06dc..6314c75518b 100644 --- a/src/glsl/SConscript +++ b/src/glsl/SConscript @@ -87,7 +87,7 @@ else: command = python_cmd + ' $SCRIPT $SOURCE > $TARGET' ) - env.Depends(builtin_glsl_function, ['builtins/tools/generate_builtins.py', 'builtins/tools/texture_builtins.py'] + Glob('builtins/ir/*')) + env.Depends(builtin_glsl_function, ['builtins/tools/generate_builtins.py', '#src/glsl/builtins/tools/texture_builtins.py'] + Glob('builtins/ir/*')) Export('builtin_glsl_function')