[1/2] meson: require libdrm for gallium svga or virgl

Submitted by Alyssa Ross on July 18, 2019, 2:15 p.m.

Details

Message ID 20190718141530.9174-2-hi@alyssa.is
State New
Headers show
Series "meson: improve configuration experience" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Alyssa Ross July 18, 2019, 2:15 p.m.
A build with svga or virgl, but without DRI or Vulkan, still requires
libdrm, but this wasn't caught by meson.
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meson.build b/meson.build
index 13b561f99de..52dd5be25e7 100644
--- a/meson.build
+++ b/meson.build
@@ -1185,7 +1185,7 @@  endforeach
 with_gallium_drisw_kms = false
 dep_libdrm = dependency(
   'libdrm', version : '>=' + _drm_ver,
-  required : with_dri2 or with_dri3
+  required : with_dri2 or with_dri3 or with_gallium_freedreno or with_gallium_svga or with_gallium_virgl
 )
 if dep_libdrm.found()
   pre_args += '-DHAVE_LIBDRM'

Comments