From: Emil Velikov Date: Wed, 22 Jul 2015 15:04:28 +0000 (+0100) Subject: targets/dri: scons: add missing link against libdrm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0731a1b14dc7385f4238b4508b88bfca2ef43cf;p=mesa.git targets/dri: scons: add missing link against libdrm Otherwise the final dri module will have (additional) unresolved symbols. Cc: Brian Paul Signed-off-by: Emil Velikov Reviwed-by: Jose Fonseca --- 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',