summaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-09-11 14:42:47 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-30 19:09:19 +0200
commit18240fdcaa890cf1873fc2cd961411ab22183968 (patch)
treebfa5e3de4f668fcce233bb0d3d31ac5e9d2be57a /qga
parent1d14a8edce750c9d87ba6b03276815723de9a193 (diff)
downloadqemu-18240fdcaa890cf1873fc2cd961411ab22183968.zip
meson: fix MSI rule
The environment variables can't be passed through an env: argument yet (meson#2723), use 'env' as suggested in: https://github.com/mesonbuild/meson/issues/2723#issuecomment-348630957 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga')
-rw-r--r--qga/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/qga/meson.build b/qga/meson.build
index 1c312b50cc..cd08bd953a 100644
--- a/qga/meson.build
+++ b/qga/meson.build
@@ -69,6 +69,7 @@ if targetos == 'windows'
output: 'qemu-ga-@0@.msi'.format(config_host['ARCH']),
depends: deps,
command: [
+ find_program('env'),
'QEMU_GA_VERSION=' + config_host['QEMU_GA_VERSION'],
'QEMU_GA_MANUFACTURER=' + config_host['QEMU_GA_MANUFACTURER'],
'QEMU_GA_DISTRO=' + config_host['QEMU_GA_DISTRO'],