diff options
author | Neal H. Walfield <neal@pep.foundation> | 2022-03-27 00:43:16 +0100 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2022-04-05 12:44:11 +0300 |
commit | 4475614eb54feedc85de5b92b3e3a22c0da75468 (patch) | |
tree | ab8da08705eeba47a6b8fc40447ea1bc69ae5929 | |
parent | b01005aa4178a3e9db38382b8650fa32412cdb6a (diff) | |
download | rpm-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.in | 2 |
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" |