mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-24 10:44:15 +08:00
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.
This commit is contained in:
parent
31db310be4
commit
5fd97573e3
@ -113,8 +113,10 @@ if env['llvm'] and 'llvmpipe' not in env['drivers']:
|
||||
env['drivers'].append('llvmpipe')
|
||||
|
||||
# Includes
|
||||
env.Append(CPPPATH = [
|
||||
env.Prepend(CPPPATH = [
|
||||
'#/include',
|
||||
])
|
||||
env.Append(CPPPATH = [
|
||||
'#/src/gallium/include',
|
||||
'#/src/gallium/auxiliary',
|
||||
'#/src/gallium/drivers',
|
||||
|
Loading…
Reference in New Issue
Block a user