From 149e8bff52aec95b9912812392d850829ccf1822 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Wed, 17 Jul 2024 11:11:12 +0100 Subject: [PATCH] meson: egl: Build egl_dri2 driver even for plain DRI Despite its name, egl_dri2 works under plain DRI without DRI2, and the old autotools build system built it when $enable_dri = yes, with no check for DRI2. This fixes the build for GNU/Hurd, which supports DRI, but doesn't have DRM and thus no DRI2 support. Cc: mesa-stable Part-of: --- src/egl/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/meson.build b/src/egl/meson.build index 12f8422a60c..f590df320cf 100644 --- a/src/egl/meson.build +++ b/src/egl/meson.build @@ -76,7 +76,7 @@ g_egldispatchstubs_h = custom_target( capture : true, ) -if with_dri2 +if with_dri files_egl += files( 'drivers/dri2/egl_dri2.c', 'drivers/dri2/egl_dri2.h',