Otherwise the final dri module will have (additional) unresolved
symbols.

Cc: Brian Paul <bri...@vmware.com>
Cc: Jose Fonseca <jfons...@vmware.com>
Signed-off-by: Emil Velikov <emil.l.veli...@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.

-Emil

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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to