Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index c1f56e8fdb..bb01731264 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
--
2.26.2