[libvirt PATCH 07/15] meson: build nodedev driver only if libvirtd is compiled
Pavel Hrdina
phrdina at redhat.com
Thu Oct 8 13:58:56 UTC 2020
Signed-off-by: Pavel Hrdina <phrdina at 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
More information about the libvir-list
mailing list