[Mesa-dev] [PATCH 1/2] meson: require libdrm for gallium svga or virgl
Alyssa Ross
hi at alyssa.is
Thu Jul 18 14:15:13 UTC 2019
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(-)
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'
--
2.22.0
More information about the mesa-dev
mailing list