summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/SConscript')
-rw-r--r--src/mesa/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index ca36bf27f94..7e8bb2486c3 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -220,7 +220,7 @@ program_parse = env.CFile('program/program_parse.tab.c',
'program/program_parse.y')
# Make program/program_parse.tab.h reacheable from the include path
-env.Append(CPPPATH = [program_parse[0].dir.up()])
+env.Append(CPPPATH = [Dir('.').abspath])
program_sources = [
'program/arbprogparse.c',