mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 03:03:02 +01:00
mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG
(From OE-Core rev: ee95a399285abbde84e0148ca957b59d65bcad0a) Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 78efff8741f869647790810a3dd41459b9d9d8a6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a6ee553b42
commit
ca9dd4b8ea
@@ -23,7 +23,7 @@ index 0e50bb26c0a..de065c290d6 100644
|
||||
with_dri_swrast = dri_drivers.contains('swrast')
|
||||
|
||||
-with_dri = dri_drivers.length() != 0 and dri_drivers != ['']
|
||||
+with_dri = get_option('dri') or (_drivers.length() != 0 and _drivers != [''])
|
||||
+with_dri = get_option('dri') or (dri_drivers.length() != 0 and dri_drivers != [''])
|
||||
|
||||
gallium_drivers = get_option('gallium-drivers')
|
||||
if gallium_drivers.contains('auto')
|
||||
|
||||
Reference in New Issue
Block a user