path: root/SConstruct
diff options
authorVinson Lee <>2010-04-26 01:08:34 -0700
committerVinson Lee <>2010-04-26 01:08:34 -0700
commit5fd97573e3c35d5e7e2b17dc2795dc9292ea944c (patch)
tree3f28c585ca72f91dcaf73d4689d2e0e4a73d241b /SConstruct
parent31db310be489e1fc83fa3f72366e2e5fdd2a00e7 (diff)
scons: Include headers from the local include directory first.
Certain headers, such as GL/glew.h, are in both the Mesa include and the default installed include directories. On recent distros the needed symbols can be found in both places. On older distros the installed headers could be lacking symbols, so for a header that exists in both places, the local one should be found first.
Diffstat (limited to 'SConstruct')
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index de3f6ea5c33..3a4ff9a3fac 100644
--- a/SConstruct
+++ b/SConstruct
@@ -113,8 +113,10 @@ if env['llvm'] and 'llvmpipe' not in env['drivers']:
# Includes
-env.Append(CPPPATH = [
+env.Prepend(CPPPATH = [
+env.Append(CPPPATH = [