aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-08-26 15:04:16 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-01 08:51:33 -0400
commitab4c0996f80d43d1fc28c6e76f4ecb27423a7e29 (patch)
tree62cbaf2a60cc5c3c47202dc62c112fe51e1e6a76 /contrib
parent73f3aa3766e64492559e3ec05b5cc2cfde0d2c9e (diff)
downloadqemu-ab4c0996f80d43d1fc28c6e76f4ecb27423a7e29.zip
qemu-ab4c0996f80d43d1fc28c6e76f4ecb27423a7e29.tar.gz
qemu-ab4c0996f80d43d1fc28c6e76f4ecb27423a7e29.tar.bz2
meson: use meson datadir instead of qemu_datadir
When cross-compiling, by default qemu_datadir is 'c:\Program Files\QEMU', which is not recognized as being an absolute path, and meson will end up adding the prefix again. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200826110419.528931-6-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/vhost-user-gpu/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vhost-user-gpu/meson.build b/contrib/vhost-user-gpu/meson.build
index 12d608c..7d9b29d 100644
--- a/contrib/vhost-user-gpu/meson.build
+++ b/contrib/vhost-user-gpu/meson.build
@@ -10,5 +10,5 @@ if 'CONFIG_TOOLS' in config_host and 'CONFIG_VIRGL' in config_host \
configure_file(input: '50-qemu-gpu.json.in',
output: '50-qemu-gpu.json',
configuration: config_host,
- install_dir: config_host['qemu_datadir'] / 'vhost-user')
+ install_dir: qemu_datadir / 'vhost-user')
endif