[Mesa-dev] [PATCH] targets/dri: scons: add missing link against libdrm

Emil Velikov emil.l.velikov at gmail.com
Wed Jul 22 08:04:28 PDT 2015

Otherwise the final dri module will have (additional) unresolved

Cc: Brian Paul <brianp at vmware.com>
Cc: Jose Fonseca <jfonseca at vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

We can only fix the remaining unresolved symbols (_glapi_foo), as we 
remove the non-shared glapi when building with DRI.

With this we at least match the autotools build.


 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.Prepend(LIBS = [llvmpipe])
 env.Append(CPPDEFINES = [

More information about the mesa-dev mailing list