summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-22 16:04:28 +0100
committerEmil Velikov <[email protected]>2015-07-29 17:41:43 +0100
commitc0731a1b14dc7385f4238b4508b88bfca2ef43cf (patch)
tree4cc7edb999b956b8f18820877c7ca72b1e9ecc3b /src
parent4fc86f183eee43117925499d8d1315be481ba636 (diff)
targets/dri: scons: add missing link against libdrm
Otherwise the final dri module will have (additional) unresolved symbols. Cc: Brian Paul <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviwed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src')
-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',