meson: skip installation of GLVND-provided headers
Fixes: 93df862b6a
("meson: re-add incorrect pkg-config files with GLVND for backward compatibility")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1846
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
@@ -22,6 +22,7 @@ inc_include = include_directories('.')
|
|||||||
inc_d3d9 = include_directories('D3D9')
|
inc_d3d9 = include_directories('D3D9')
|
||||||
inc_haikugl = include_directories('HaikuGL')
|
inc_haikugl = include_directories('HaikuGL')
|
||||||
|
|
||||||
|
if not glvnd_has_headers_and_pc_files
|
||||||
if with_gles1 or with_gles2 or with_opengl or with_egl
|
if with_gles1 or with_gles2 or with_opengl or with_egl
|
||||||
install_headers('KHR/khrplatform.h', subdir : 'KHR')
|
install_headers('KHR/khrplatform.h', subdir : 'KHR')
|
||||||
endif
|
endif
|
||||||
@@ -77,6 +78,7 @@ if with_egl
|
|||||||
subdir : 'EGL',
|
subdir : 'EGL',
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Non-upstream headers
|
# Non-upstream headers
|
||||||
if with_egl
|
if with_egl
|
||||||
|
Reference in New Issue
Block a user