diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-06 16:03:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-06 16:04:08 +0200 |
commit | ca5765c8521b8284b8277ed4b811ac0ab9010fc8 (patch) | |
tree | 0889bd686e16e051086b88922ada640376173dc7 /qga | |
parent | 7632a38e7c21c993da74d17afa8dd66d9552da06 (diff) | |
download | qemu-ca5765c8521b8284b8277ed4b811ac0ab9010fc8.zip qemu-ca5765c8521b8284b8277ed4b811ac0ab9010fc8.tar.gz qemu-ca5765c8521b8284b8277ed4b811ac0ab9010fc8.tar.bz2 |
meson: qga: do not use deprecated meson.build_root()
The function will return the build root of the parent project if called from a
subproject; that is irrelevant for QEMU's usage but rarely desirable, and
therefore the function was deprecated and replaced by two functions
project_build_root() and global_build_root(). Replace it with the former.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga')
-rw-r--r-- | qga/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/meson.build b/qga/meson.build index 619ff09..65c1e93 100644 --- a/qga/meson.build +++ b/qga/meson.build @@ -125,7 +125,7 @@ if targetos == 'windows' wixl, '-o', '@OUTPUT0@', '@INPUT0@', qemu_ga_msi_arch[cpu], qemu_ga_msi_vss, - '-D', 'BUILD_DIR=' + meson.build_root(), + '-D', 'BUILD_DIR=' + meson.project_build_root(), '-D', 'BIN_DIR=' + glib.get_variable('bindir'), '-D', 'QEMU_GA_VERSION=' + config_host['QEMU_GA_VERSION'], '-D', 'QEMU_GA_MANUFACTURER=' + config_host['QEMU_GA_MANUFACTURER'], |