summaryrefslogtreecommitdiff
path: root/tools/virtiofsd/meson.build
blob: 50022ed89ec29404f0b4c6f11242c4eb9742538c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
executable('virtiofsd', files(
  'buffer.c',
  'fuse_opt.c',
  'fuse_log.c',
  'fuse_lowlevel.c',
  'fuse_signals.c',
  'fuse_virtio.c',
  'helper.c',
  'passthrough_ll.c',
  'passthrough_seccomp.c'),
  link_with: libvhost_user,
  dependencies: [seccomp, qemuutil, libcap_ng],
  install: true,
  install_dir: get_option('libexecdir'))

configure_file(input: '50-qemu-virtiofsd.json.in',
               output: '50-qemu-virtiofsd.json',
               configuration: config_host,
               install_dir: qemu_datadir / 'vhost-user')