diff options
author | José Fonseca <[email protected]> | 2010-04-10 02:00:33 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-11 17:17:34 +0900 |
commit | 9fc93b80413d63aeb08b5a17602d111ed3899faf (patch) | |
tree | 34a42545a0bd567fbdfc8cb44301031b6a7db240 /src/gallium/state_trackers/dri | |
parent | 9faf9529f38e1b22550f4910ea863391bfa02436 (diff) |
scons: Use libdrm options only where needed.
Prevents needless recompiles when switching dri=yes to no.
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r-- | src/gallium/state_trackers/dri/drm/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/drm/SConscript b/src/gallium/state_trackers/dri/drm/SConscript index b9726ee3113..1dfaa402f2d 100644 --- a/src/gallium/state_trackers/dri/drm/SConscript +++ b/src/gallium/state_trackers/dri/drm/SConscript @@ -7,6 +7,8 @@ if env['dri']: env = env.Clone() + env.ParseConfig('pkg-config --cflags --libs libdrm') + env.Append(CPPPATH = [ '#/src/mesa', '#/src/gallium/state_trackers/dri/common', |