egl/meson: allow passing a full path to the glvnd json file

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35652>
This commit is contained in:
Eric Engestrom 2023-02-28 17:59:12 +00:00 committed by Marge Bot
parent b952c1a26a
commit 367fb5e233
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"file_format_version" : "1.0.0",
"ICD" : {
"library_path" : "libEGL_@glvnd_vendor_name@.so.0"
"library_path" : "@library_path@"
}
}

View file

@ -209,7 +209,7 @@ libegl = shared_library(
if with_glvnd
configure_file(
configuration: {'glvnd_vendor_name' : glvnd_vendor_name},
configuration: {'library_path' : 'libEGL_@0@.so.0'.format(glvnd_vendor_name)},
input : 'main/50_mesa.json',
output: '50_@0@.json'.format(glvnd_vendor_name),
install : true,