mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -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@',
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user