meson: Stop looking for udevadm at build time

We only use it at runtime, not during the build process.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-11-30 18:06:31 +01:00
parent e8d149614b
commit 5b4d1a68b2
2 changed files with 2 additions and 1 deletions

View File

@ -820,7 +820,6 @@ optional_programs = [
'rmmod',
'scrub',
'tc',
'udevadm',
]
foreach name : optional_programs

View File

@ -62,6 +62,8 @@ G_STATIC_ASSERT(sizeof(gid_t) <= sizeof(unsigned int) &&
VIR_LOG_INIT("util.util");
#define UDEVADM "udevadm"
#ifndef WIN32
int virSetInherit(int fd, bool inherit)