From a537231b226280bc1e5b7f0f58707cbd2cf29848 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 26 Oct 2017 14:19:19 -0700 Subject: meson: build svga driver on linux Build tested only. Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- src/gallium/targets/dri/meson.build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/targets') diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 8bcef801dbe..79dc046f896 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -122,6 +122,11 @@ if with_gallium_r600 gallium_dri_link_with += libr600 gallium_dri_drivers += 'r600_dri.so' endif +if with_gallium_svga + gallium_dri_c_args += '-DGALLIUM_VMWGFX' + gallium_dri_link_with += [libsvga, libsvgadrm] + gallium_dri_drivers += 'vmwgfx_dri.so' +endif if with_gallium_radeonsi or with_gallium_r300 or with_gallium_r600 gallium_dri_link_with += libradeonwinsys -- cgit v1.2.3