Skip to content

Commit ca5765c

Browse files
committed
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 <[email protected]>
1 parent 7632a38 commit ca5765c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qga/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ if targetos == 'windows'
125125
wixl, '-o', '@OUTPUT0@', '@INPUT0@',
126126
qemu_ga_msi_arch[cpu],
127127
qemu_ga_msi_vss,
128-
'-D', 'BUILD_DIR=' + meson.build_root(),
128+
'-D', 'BUILD_DIR=' + meson.project_build_root(),
129129
'-D', 'BIN_DIR=' + glib.get_variable('bindir'),
130130
'-D', 'QEMU_GA_VERSION=' + config_host['QEMU_GA_VERSION'],
131131
'-D', 'QEMU_GA_MANUFACTURER=' + config_host['QEMU_GA_MANUFACTURER'],

0 commit comments

Comments
 (0)