meson: drop use of .path() for python args

When using .path() for an argument to a python script meson will not
setup dependancies on the file. This means that changes to the generator
script will not trigger a rebiuld

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2020-11-09 13:52:10 +00:00
parent 09a221c085
commit 18c73a4c70
9 changed files with 23 additions and 23 deletions

View File

@@ -68,7 +68,7 @@ libvirt_admin_syms = custom_target(
],
output: 'libvirt_admin.syms',
command: [
meson_python_prog, python3_prog.path(), meson_gen_sym_prog.path(),
meson_python_prog, python3_prog, meson_gen_sym_prog,
'@OUTPUT@', 'LIBVIRT_ADMIN_PRIVATE_' + meson.project_version(), '@INPUT@',
],
)
@@ -79,7 +79,7 @@ if host_machine.system() == 'windows'
input: libvirt_admin_syms,
output: 'libvirt_admin.def',
command: [
meson_python_prog, python3_prog.path(), meson_gen_def_prog.path(),
meson_python_prog, python3_prog, meson_gen_def_prog,
'@INPUT@', '@OUTPUT@',
],
)