xwayland: install pkgconfig to sharedir

Remove the previous change which ensured that the xwayland pkgconfig
file was installed into $libdir. This is a breaking change for build
systems searching for the xwayland pkg-config file. The sharedir
location fits xwayland better since the pkg-config file does not contain
linking information, it only contains the data on how to locate the
xwayland binary and which features are enabled.

Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1543>
This commit is contained in:
Rouven Czerwinski 2024-05-15 10:27:38 +02:00 committed by Marge Bot
parent 9df084c8d1
commit b9754729e1

View File

@ -183,7 +183,6 @@ pkgconfig.generate(
name: 'Xwayland', name: 'Xwayland',
description: 'X Server for Wayland', description: 'X Server for Wayland',
dataonly: true, dataonly: true,
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
variables: [ variables: [
'exec_prefix=${prefix}', 'exec_prefix=${prefix}',
'xwayland=' + xwayland_path / xwayland_server.name(), 'xwayland=' + xwayland_path / xwayland_server.name(),