mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
meson: Fix vstorage detection
We're supposed to error out if the user has explicitly asked for vstorage support to be enabled and that can't be done, but we've been looking at the wrong option. Fixes: 2127d53f2f90443f3e4919c1082350ee2b3096f1 Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
1834e17097
commit
6f25a5ac8a
@ -1838,7 +1838,7 @@ if conf.has('WITH_LIBVIRTD')
|
||||
if not get_option('storage_vstorage').disabled()
|
||||
vstorage_enable = true
|
||||
if host_machine.system() != 'linux'
|
||||
if get_option('storage_fs').enabled()
|
||||
if get_option('storage_vstorage').enabled()
|
||||
error('Vstorage is supported only on Linux')
|
||||
else
|
||||
vstorage_enable = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user