]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: build nodedev driver only if libvirtd is compiled
authorPavel Hrdina <phrdina@redhat.com>
Thu, 8 Oct 2020 10:46:11 +0000 (12:46 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 9 Oct 2020 11:44:54 +0000 (13:44 +0200)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
meson.build

index d5694fd0b6e0d9397a334e3b9e1cf49ae385aa7c..6ee15ca8b87cf72a156b51e1cf0f3a36a187ba41 100644 (file)
@@ -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