aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri/SConscript')
-rw-r--r--src/gallium/targets/dri/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/SConscript b/src/gallium/targets/dri/SConscript
index 8d29f3beb18..2fb0da09200 100644
--- a/src/gallium/targets/dri/SConscript
+++ b/src/gallium/targets/dri/SConscript
@@ -25,6 +25,8 @@ if env['llvm']:
env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
env.Prepend(LIBS = [llvmpipe])
+env.PkgUseModules('DRM')
+
env.Append(CPPDEFINES = [
'GALLIUM_VMWGFX',
'GALLIUM_SOFTPIPE',