mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-05 12:35:20 +00:00
meson: Don't set $PROG_PATH macros
Now, that there is no user of $PROG_PATH macros the meson script can be changed so that it doesn't set those macros. It's redundant as $PROG macro contains the same value. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
2731717a73
commit
4775613527
@ -802,7 +802,6 @@ foreach name : required_programs
|
|||||||
prog = find_program(name, dirs: libvirt_sbin_path)
|
prog = find_program(name, dirs: libvirt_sbin_path)
|
||||||
varname = name.underscorify()
|
varname = name.underscorify()
|
||||||
conf.set_quoted(varname.to_upper(), prog.path())
|
conf.set_quoted(varname.to_upper(), prog.path())
|
||||||
conf.set_quoted('@0@_PATH'.format(varname.to_upper()), prog.path())
|
|
||||||
set_variable('@0@_prog'.format(varname), prog)
|
set_variable('@0@_prog'.format(varname), prog)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
@ -848,7 +847,6 @@ foreach name : optional_programs
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
conf.set_quoted(varname.to_upper(), prog_path)
|
conf.set_quoted(varname.to_upper(), prog_path)
|
||||||
conf.set_quoted('@0@_PATH'.format(varname.to_upper()), prog_path)
|
|
||||||
set_variable('@0@_prog'.format(varname), prog)
|
set_variable('@0@_prog'.format(varname), prog)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user