From 84852874857a8fe040dd2445a4ae28a2821959d6 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Thu, 8 Oct 2020 12:46:11 +0200 Subject: [PATCH] meson: build nodedev driver only if libvirtd is compiled Signed-off-by: Pavel Hrdina Reviewed-by: Andrea Bolognani --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d5694fd0b6..6ee15ca8b8 100644 --- a/meson.build +++ b/meson.build @@ -1678,7 +1678,7 @@ if not get_option('driver_network').disabled() and conf.has('WITH_LIBVIRTD') and conf.set('WITH_NETWORK', 1) endif -if udev_dep.found() +if udev_dep.found() and conf.has('WITH_LIBVIRTD') conf.set('WITH_NODE_DEVICES', 1) endif