]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: Don't set $PROG_PATH macros
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 14 Sep 2021 08:41:02 +0000 (10:41 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 21 Sep 2021 12:09:56 +0000 (14:09 +0200)
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>
meson.build

index 9d493ccd9eb270b7f22edfabd96d3e7bf9bfd7e5..77ee60977db83792a478a1aa19131d0cce15a0d6 100644 (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