Teach meson about pkgconfig Requires.private

Fixes: ed87c6dbb0 ("Add libudev and -lm to Requires.private")
added Requires.private, 4f4bfae2a1 ("Add meson.build file")
forgot to transplant the logic to meson.build.

Fixes: 4f4bfae2a1 ("Add meson.build file")

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1232>
This commit is contained in:
Jan Engelhardt 2025-05-29 15:35:11 +02:00 committed by Marge Bot
parent b1bc500e0d
commit d67d45a8fd

View file

@ -451,7 +451,8 @@ pkgconfig.generate(
name : 'Libinput',
description : 'Input device library',
version : meson.project_version(),
libraries : lib_libinput
libraries : lib_libinput,
requires_private : dep_udev,
)
git_version_h = vcs_tag(command : ['git', 'describe'],