scons: Use full path of texture_builtins.py.
authorVinson Lee <vlee@freedesktop.org>
Sat, 29 Sep 2012 06:41:29 +0000 (23:41 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 29 Sep 2012 21:38:37 +0000 (14:38 -0700)
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 <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/SConscript

index b034f3b06dcaa1596c5f5de6bd17e1a54bfcd436..6314c75518b2ec6ceea8eb810b71aafcde10c89f 100644 (file)
@@ -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')