summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-01-20 16:15:39 +0100
committerPaolo Bonzini2021-01-23 21:55:04 +0100
commit3a489d38fd0076d2f9fc8c60b70aa66290a0a199 (patch)
tree7b72b6470f05dc2c224a57804e41580cd5b4adda /meson.build
parentbuild-sys: add libvhost-user missing dependencies (diff)
downloadqemu-3a489d38fd0076d2f9fc8c60b70aa66290a0a199.tar.gz
qemu-3a489d38fd0076d2f9fc8c60b70aa66290a0a199.tar.xz
qemu-3a489d38fd0076d2f9fc8c60b70aa66290a0a199.zip
meson: Declare have_virtfs_proxy_helper in main meson.build
have_virtfs_proxy_helper is used from docs/meson.build, and can be not declared when including it before fsdev/meson.build. This fixes: ../docs/meson.build:54:2: ERROR: Unknown variable "have_virtfs_proxy_helper". Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210120151539.1166252-1-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e813814fb0..4f0e459243 100644
--- a/meson.build
+++ b/meson.build
@@ -1034,6 +1034,8 @@ have_virtfs = (targetos == 'linux' and
libattr.found() and
libcap_ng.found())
+have_virtfs_proxy_helper = have_virtfs and have_tools
+
if get_option('virtfs').enabled()
if not have_virtfs
if targetos != 'linux'