cd57deabad
The option `libexecdir` is relative to `prefix` (see
https://mesonbuild.com/Builtin-options.html), so we have to be aware
of this when creating 50-qemu-gpu.json and
50-qemu-virtiofsd.json. Otherwise, tools like libvirt will not be able
to find the executable.
Fixes: 16bf7a3326
("configure: move directory options from config-host.mak to meson")
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Message-Id: <20201103112333.24734-1-mhartmay@linux.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
20 lines
591 B
Meson
20 lines
591 B
Meson
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: { 'libexecdir' : get_option('prefix') / get_option('libexecdir') },
|
|
install_dir: qemu_datadir / 'vhost-user')
|