summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2022-03-27 00:43:16 +0100
committerPanu Matilainen <pmatilai@redhat.com>2022-04-05 12:44:11 +0300
commit4475614eb54feedc85de5b92b3e3a22c0da75468 (patch)
treeab8da08705eeba47a6b8fc40447ea1bc69ae5929
parentb01005aa4178a3e9db38382b8650fa32412cdb6a (diff)
downloadrpm-4475614eb54feedc85de5b92b3e3a22c0da75468.tar.gz
Don't override LD_LIBRARY_PATH, prepend to it.
When running the tests, the test suite overrides LD_LIBRARY_PATH. This means that any user setting is lost. Instead, add to LD_LIBRARY_PATH.
-rw-r--r--tests/atlocal.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index c3189d327..f968175cf 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -1,5 +1,5 @@
RPMLIBDIR="@usrlibdir@"
-LD_LIBRARY_PATH="${abs_builddir}/testing/${RPMLIBDIR}"
+LD_LIBRARY_PATH="${abs_builddir}/testing/${RPMLIBDIR}${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
export LD_LIBRARY_PATH
export RPMLIBDIR
PATH="${abs_builddir}/testing@rpmbindir@:${abs_builddir}/testing@usrbindir@:${abs_builddir}/testing@usrlibexecdir@:$PATH"