summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2012-06-19 00:02:53 -0700
committerVinson Lee <vlee@freedesktop.org>2012-06-23 13:40:09 -0700
commit37d699a296ac1d63b9276224847df4b645b53fe2 (patch)
treeb1a63e5928fc0e72c74d0cac21adf3099689e388
parent78ac9af58021b7cc649c35fda112f61c98b31766 (diff)
scons: Add glsl/glcpp to the include path.
Fixes this build failure on Solaris. Compiling build/sunos-debug/glsl/glcpp/glcpp-lex.c ... "src/glsl/glcpp/glcpp-lex.l", line 30: cannot find include file: "glcpp-parse.h" Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/glsl/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/SConscript b/src/glsl/SConscript
index f8e872368c2..2fc57c6dd5f 100644
--- a/src/glsl/SConscript
+++ b/src/glsl/SConscript
@@ -14,8 +14,8 @@ env.Prepend(CPPPATH = [
'#src/glsl/glcpp',
])
-# Make glcpp/glcpp-parse.h and glsl_parser.h reacheable from the include path
-env.Append(CPPPATH = [Dir('.').abspath])
+# Make glcpp-parse.h and glsl_parser.h reachable from the include path.
+env.Append(CPPPATH = [Dir('.').abspath, Dir('glcpp').abspath])
env.Append(YACCFLAGS = '-d')