Module: Mesa
Branch: master
Commit: c0731a1b14dc7385f4238b4508b88bfca2ef43cf
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0731a1b14dc7385f4238b4508b88bfca2ef43cf

Author: Emil Velikov <[email protected]>
Date:   Wed Jul 22 16:04:28 2015 +0100

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]>

---

 src/gallium/targets/dri/SConscript |    2 ++
 1 file changed, 2 insertions(+)

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',

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to