From: Paolo Bonzini Date: Wed, 8 Sep 2021 10:13:14 +0000 (+0200) Subject: meson: do not use python.full_path() unnecessarily X-Git-Tag: v6.2.0-rc0~105^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=edc54640f989b3fa7d9330b34c4d816bcef37a04;p=thirdparty%2Fqemu.git 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 --- diff --git a/ui/meson.build b/ui/meson.build index 7d25c1b95b5..7faa42eb3fa 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]),