From a6392c06c07adc1fd2d31ae8f5ce28000f32157b Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 7 Dec 2023 18:09:12 +0000 Subject: [PATCH] gallium/dri: reuse existing meson variables This avoid having to duplicate the logic there in the next commit. Part-of: --- src/gallium/frontends/dri/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/frontends/dri/meson.build b/src/gallium/frontends/dri/meson.build index c39c920e7a9..9d108660dcc 100644 --- a/src/gallium/frontends/dri/meson.build +++ b/src/gallium/frontends/dri/meson.build @@ -50,8 +50,8 @@ endif libdri_c_args = [] if with_gallium_zink and not with_platform_android - if get_option('glvnd') - libdri_c_args += '-DKOPPER_LIB_NAMES="libEGL_@0@ and libGLX_@0@"'.format(get_option('glvnd-vendor-name')) + if with_glvnd + libdri_c_args += '-DKOPPER_LIB_NAMES="libEGL_@0@ and libGLX_@0@"'.format(glvnd_vendor_name) else libdri_c_args += '-DKOPPER_LIB_NAMES="libEGL and libGLX"' endif