OSDN Git Service

meson: qga: do not use deprecated meson.build_root()
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jun 2022 14:03:38 +0000 (16:03 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jun 2022 14:04:08 +0000 (16:04 +0200)
commitca5765c8521b8284b8277ed4b811ac0ab9010fc8
tree0889bd686e16e051086b88922ada640376173dc7
parent7632a38e7c21c993da74d17afa8dd66d9552da06
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>
qga/meson.build