mirror of https://gitlab.freedesktop.org/mesa/mesa
gallium/dri: reuse existing meson variables
This avoid having to duplicate the logic there in the next commit. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26367>
This commit is contained in:
parent
fe36cf6cad
commit
a6392c06c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue