summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-07-22 16:04:28 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-07-29 17:41:43 +0100
commitc0731a1b14dc7385f4238b4508b88bfca2ef43cf (patch)
tree4cc7edb999b956b8f18820877c7ca72b1e9ecc3b /src
parent4fc86f183eee43117925499d8d1315be481ba636 (diff)
downloadexternal_mesa3d-c0731a1b14dc7385f4238b4508b88bfca2ef43cf.zip
external_mesa3d-c0731a1b14dc7385f4238b4508b88bfca2ef43cf.tar.gz
external_mesa3d-c0731a1b14dc7385f4238b4508b88bfca2ef43cf.tar.bz2
targets/dri: scons: add missing link against libdrm
Otherwise the final dri module will have (additional) unresolved symbols. Cc: Brian Paul <brianp@vmware.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviwed-by: Jose Fonseca <jfonseca@vmware.com>
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 8d29f3b..2fb0da0 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',