aboutsummaryrefslogtreecommitdiff
path: root/fsdev
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-07-15 15:04:49 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:13 -0400
commitec0d5893da20a5f35dcbd901d98be24346bf9cc2 (patch)
treea3054fbb1ede92b8aa4325c1a499c22bf6c4e921 /fsdev
parent157e7b13b93e7fc5440093486932a69ef0ecfdee (diff)
meson: add virtfs-proxy-helper
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fsdev')
-rw-r--r--fsdev/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/fsdev/meson.build b/fsdev/meson.build
new file mode 100644
index 0000000000..30e2319960
--- /dev/null
+++ b/fsdev/meson.build
@@ -0,0 +1,8 @@
+have_virtfs_proxy_helper = have_tools and libattr.found() and libcap_ng.found() and 'CONFIG_VIRTFS' in config_host
+if have_virtfs_proxy_helper
+ executable('virtfs-proxy-helper',
+ files('virtfs-proxy-helper.c', '9p-marshal.c', '9p-iov-marshal.c'),
+ dependencies: [qemuutil, libattr, libcap_ng],
+ install: true,
+ install_dir: get_option('libexecdir'))
+endif