targets/dri: scons: add missing link against libdrm
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Jul 2015 15:04:28 +0000 (16:04 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 29 Jul 2015 16:41:43 +0000 (17:41 +0100)
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>
src/gallium/targets/dri/SConscript

index 8d29f3beb187944336354caf1c7d50f1728a54a2..2fb0da092008d0d9d1cf16486a8b0569feb62873 100644 (file)
@@ -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',