Mesa (master): targets/dri: scons: add missing link against libdrm
Emil Velikov
evelikov at kemper.freedesktop.org
Wed Jul 29 16:38:37 UTC 2015
Module: Mesa
Branch: master
Commit: c0731a1b14dc7385f4238b4508b88bfca2ef43cf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0731a1b14dc7385f4238b4508b88bfca2ef43cf
Author: Emil Velikov <emil.l.velikov at gmail.com>
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 <brianp at vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviwed-by: Jose Fonseca <jfonseca at vmware.com>
---
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',
More information about the mesa-commit
mailing list