From: Andrea Bolognani Date: Wed, 26 May 2021 15:47:05 +0000 (+0200) Subject: meson: Fix vstorage detection X-Git-Tag: v7.5.0-rc1~241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f25a5ac8aa6199afbf5d0206d102d0360d77c69;p=thirdparty%2Flibvirt.git 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 Reviewed-by: Pavel Hrdina --- diff --git a/meson.build b/meson.build index 6a3f5fa578..c203c43299 100644 --- a/meson.build +++ b/meson.build @@ -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