[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
symbols.
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.
-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
More information about the mesa-dev
mailing list