summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-08-02 04:49:33 +0100
committerEmil Velikov <[email protected]>2014-08-04 18:26:35 +0100
commit87e719ae985e3452db0853885be7cd89fd199f36 (patch)
treec68457d8c40a53bed310cb2fcaaeae87ce59f08a
parentcf3c73cf200edd6a852270d3a152340457d56333 (diff)
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 <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Tested-by: Roland Scheidegger <[email protected]>
-rw-r--r--src/gallium/targets/dri/SConscript1
1 files changed, 1 insertions, 0 deletions
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 = [