mirror of https://gitee.com/openkylin/libvirt.git
meson: build nodedev driver only if libvirtd is compiled
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
fc125d7e5c
commit
8485287485
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue