meson.build: export the plugin dir via pkgconfig

This is for the system-wide plugindir only - the only path where we'd
expect other packages to put plugins.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1357>
This commit is contained in:
Peter Hutterer 2025-11-05 11:24:57 +10:00 committed by Marge Bot
parent 4fd5fe9d30
commit b9a04e4d57

View file

@ -505,6 +505,9 @@ pkgconfig.generate(
version : meson.project_version(), version : meson.project_version(),
libraries : lib_libinput, libraries : lib_libinput,
requires_private : dep_udev, requires_private : dep_udev,
variables : [
'plugindir=${libdir}/libinput/plugins'
]
) )
git_version_h = vcs_tag(command : ['git', 'describe'], git_version_h = vcs_tag(command : ['git', 'describe'],