targets/dri: resolve the scons build
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 2 Aug 2014 03:49:33 +0000 (04:49 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 Aug 2014 17:26:35 +0000 (18:26 +0100)
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@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/targets/dri/SConscript

index 8cb90b3..7c567c3 100644 (file)
@@ -29,6 +29,7 @@ env.Append(CPPDEFINES = [
     'GALLIUM_VMWGFX',
     'GALLIUM_SOFTPIPE',
     'DRI_TARGET',
+    'HAVE_LIBDRM',
 ])
 
 env.Prepend(LIBS = [