[PATCH] run: include 'src' in $PATH for the daemons

Daniel P. Berrangé berrange at redhat.com
Wed Mar 9 10:54:42 UTC 2022


Currently the 'run' script modifies $PATH to add the 'tools'
directly to pick up client programs. It fails to add the 'src'
directory to pick up the daemons.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 run.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/run.in b/run.in
index 174b191675..3be7818d32 100644
--- a/run.in
+++ b/run.in
@@ -70,6 +70,7 @@ env = os.environ
 prepend(env, "LD_LIBRARY_PATH", os.path.join(here, "src"))
 prepend(env, "PKG_CONFIG_PATH", os.path.join(here, "src"))
 prepend(env, "PATH", os.path.join(here, "tools"))
+prepend(env, "PATH", os.path.join(here, "src"))
 
 # Ensure that any 3rd party apps using libvirt.so from the build tree get
 # files resolved to the build/source tree too. Typically useful for language
-- 
2.35.1



More information about the libvir-list mailing list