1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03: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:
Michal Privoznik 2021-09-14 10:41:02 +02:00
parent 2731717a73
commit 4775613527

View File

@ -802,7 +802,6 @@ foreach name : required_programs
prog = find_program(name, dirs: libvirt_sbin_path)
varname = name.underscorify()
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)
endforeach
@ -848,7 +847,6 @@ foreach name : optional_programs
endif
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)
endforeach