diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-17 14:46:58 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-01-06 10:21:20 +0100 |
commit | 727c8bb8098e37b0bb7893fc40111b1e537ce45b (patch) | |
tree | 45179fff60d2fc5d5cd63ac31ca8fd43938979a0 /tools | |
parent | 69202b406e3a42621a063c3afe80f580d343f59e (diff) | |
download | qemu-727c8bb8098e37b0bb7893fc40111b1e537ce45b.zip qemu-727c8bb8098e37b0bb7893fc40111b1e537ce45b.tar.gz qemu-727c8bb8098e37b0bb7893fc40111b1e537ce45b.tar.bz2 |
cap_ng: convert to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/meson.build b/tools/meson.build index 5c52d79..fdce668 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -1,14 +1,14 @@ have_virtiofsd = (targetos == 'linux' and have_tools and seccomp.found() and - 'CONFIG_LIBCAP_NG' in config_host and + libcap_ng.found() and 'CONFIG_VHOST_USER' in config_host) if get_option('virtiofsd').enabled() if not have_virtiofsd if targetos != 'linux' error('virtiofsd requires Linux') - elif not seccomp.found() or 'CONFIG_LIBCAP_NG' not in config_host + elif not seccomp.found() or not libcap_ng.found() error('virtiofsd requires libcap-ng-devel and seccomp-devel') elif not have_tools or 'CONFIG_VHOST_USER' not in config_host error('virtiofsd needs tools and vhost-user support') |