Mesa (master): targets/dri: resolve the scons build

Emil Velikov evelikov at kemper.freedesktop.org
Mon Aug 4 16:26:57 UTC 2014


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

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Aug  2 04:49:33 2014 +0100

targets/dri: resolve the scons build

With earlier commit we've conditionally enabled/added the kms_dri target
for automake builds. Unfortunately the we forgot to add the appropriate
define in the scons build, resulting in a broken library due to the
undefined symbol 'kms_swrast_create_screen'.

Reported-by: Roland Scheidegger <sroland at vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Tested-by: Roland Scheidegger <sroland at vmware.com>

---

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

diff --git a/src/gallium/targets/dri/SConscript b/src/gallium/targets/dri/SConscript
index 8cb90b3..7c567c3 100644
--- a/src/gallium/targets/dri/SConscript
+++ b/src/gallium/targets/dri/SConscript
@@ -29,6 +29,7 @@ env.Append(CPPDEFINES = [
     'GALLIUM_VMWGFX',
     'GALLIUM_SOFTPIPE',
     'DRI_TARGET',
+    'HAVE_LIBDRM',
 ])
 
 env.Prepend(LIBS = [




More information about the mesa-commit mailing list