diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-10 02:00:33 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-11 17:17:34 +0900 |
commit | 9fc93b80413d63aeb08b5a17602d111ed3899faf (patch) | |
tree | 34a42545a0bd567fbdfc8cb44301031b6a7db240 /src/gallium/state_trackers | |
parent | 9faf9529f38e1b22550f4910ea863391bfa02436 (diff) | |
download | external_mesa3d-9fc93b80413d63aeb08b5a17602d111ed3899faf.zip external_mesa3d-9fc93b80413d63aeb08b5a17602d111ed3899faf.tar.gz external_mesa3d-9fc93b80413d63aeb08b5a17602d111ed3899faf.tar.bz2 |
scons: Use libdrm options only where needed.
Prevents needless recompiles when switching dri=yes to no.
Diffstat (limited to 'src/gallium/state_trackers')
-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 b9726ee..1dfaa40 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', |