summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index ca36bf27f9..7e8bb2486c 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',