Commit 5fd97573 authored by Vinson Lee's avatar Vinson Lee
Browse files

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.
parent 31db310b
......@@ -113,8 +113,10 @@ if env['llvm'] and 'llvmpipe' not in env['drivers']:
# Includes
env.Append(CPPPATH = [
env.Prepend(CPPPATH = [
env.Append(CPPPATH = [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment