]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
run: include 'src' in $PATH for the daemons
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 9 Mar 2022 10:51:36 +0000 (10:51 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Mar 2022 08:06:08 +0000 (08:06 +0000)
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.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
run.in

diff --git a/run.in b/run.in
index 174b191675ca59c723fad8431cb63534e7b1c109..3be7818d3224177d04eac6af28a6ff640a97a996 100644 (file)
--- 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