mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
glx: provide glx.pc
New Vulkan CTS 1.4.4 started requiring glx.pc pkg-config file. Provide one if GLVND is not used in order to let VK CTS and other programs find Mesa GLX implementation. Cc: mesa-stable Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37834>
This commit is contained in:
parent
f1cc234bc9
commit
681c734804
1 changed files with 12 additions and 0 deletions
|
|
@ -134,6 +134,18 @@ libgl = shared_library(
|
|||
install : true,
|
||||
)
|
||||
|
||||
if not with_glvnd
|
||||
pkg.generate(
|
||||
name : 'glx',
|
||||
description : 'Mesa GLX Library',
|
||||
version : meson.project_version(),
|
||||
libraries : libgl,
|
||||
libraries_private : gl_priv_libs,
|
||||
requires_private : gl_priv_reqs,
|
||||
variables : ['glx_tls=yes'],
|
||||
)
|
||||
endif
|
||||
|
||||
if with_symbols_check
|
||||
libgl_symbols_file = with_glvnd ? 'glvnd-symbols.txt' : 'libgl-symbols.txt'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue