Skip to content

Commit edc5464

Browse files
committed
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 <[email protected]>
1 parent d051d0e commit edc5464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ if have_system or xkbcommon.found()
134134
output: output,
135135
capture: true,
136136
input: files('keycodemapdb/data/keymaps.csv'),
137-
command: [python.full_path(), files('keycodemapdb/tools/keymap-gen'),
137+
command: [python, files('keycodemapdb/tools/keymap-gen'),
138138
'code-map',
139139
'--lang', 'glib2',
140140
'--varname', 'qemu_input_map_@0@_to_@1@'.format(e[0], e[1]),

0 commit comments

Comments
 (0)