[PATCH 2/3] meson: Don't set $PROG_PATH macros

Michal Privoznik mprivozn at redhat.com
Tue Sep 14 10:16:00 UTC 2021


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 at redhat.com>
---
 meson.build | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meson.build b/meson.build
index 9d493ccd9e..77ee60977d 100644
--- a/meson.build
+++ b/meson.build
@@ -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 at _PATH'.format(varname.to_upper()), prog.path())
   set_variable('@0 at _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 at _PATH'.format(varname.to_upper()), prog_path)
   set_variable('@0 at _prog'.format(varname), prog)
 endforeach
 
-- 
2.32.0




More information about the libvir-list mailing list