From 87e719ae985e3452db0853885be7cd89fd199f36 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 2 Aug 2014 04:49:33 +0100 Subject: [PATCH] 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 Signed-off-by: Emil Velikov Tested-by: Roland Scheidegger --- 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 8cb90b3153f..7c567c38d75 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 = [ -- 2.30.2