aboutsummaryrefslogtreecommitdiff
path: root/ui/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-09-08 12:13:14 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-13 13:56:26 +0200
commitedc54640f989b3fa7d9330b34c4d816bcef37a04 (patch)
tree847314790058f9427a1b63f2ed460a0b2a4dfb10 /ui/meson.build
parentd051d0e14c7a0b198d41694a4e20f0bc5ae76048 (diff)
downloadqemu-edc54640f989b3fa7d9330b34c4d816bcef37a04.zip
qemu-edc54640f989b3fa7d9330b34c4d816bcef37a04.tar.gz
qemu-edc54640f989b3fa7d9330b34c4d816bcef37a04.tar.bz2
meson: do not use python.full_path() unnecessarily
The "python" variable is an external program and can be passed directly to custom_target. This avoids the need to look it up multiple times, which was previously silent but is now explicit in recent Meson versions. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/meson.build')
-rw-r--r--ui/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/meson.build b/ui/meson.build
index 7d25c1b..7faa42e 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -134,7 +134,7 @@ if have_system or xkbcommon.found()
output: output,
capture: true,
input: files('keycodemapdb/data/keymaps.csv'),
- command: [python.full_path(), files('keycodemapdb/tools/keymap-gen'),
+ command: [python, files('keycodemapdb/tools/keymap-gen'),
'code-map',
'--lang', 'glib2',
'--varname', 'qemu_input_map_@0@_to_@1@'.format(e[0], e[1]),