From 9fc93b80413d63aeb08b5a17602d111ed3899faf Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 10 Apr 2010 02:00:33 +0100 Subject: scons: Use libdrm options only where needed. Prevents needless recompiles when switching dri=yes to no. --- src/gallium/state_trackers/dri/drm/SConscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/state_trackers/dri') diff --git a/src/gallium/state_trackers/dri/drm/SConscript b/src/gallium/state_trackers/dri/drm/SConscript index b9726ee311..1dfaa402f2 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', -- cgit v1.2.3