[Pkg-gnupg-commit] [gpgme] 259/412: Prepend LD_LIBRARY_PATH for python tests
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:26:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit ab6f66d676581cb497e581e4af40e2fe5bff507b
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Mon Aug 8 15:04:01 2016 +0200
Prepend LD_LIBRARY_PATH for python tests
* lang/python/tests/Makefile.am (TESTS_ENVIRONMENT): Prepend path
instead of setting the value.
--
This fixes the case where tools / libararies are needed for
a working GnuPG system that are pointed to by LD_LIBRARY_PATH.
E.g. GnuPG itself is installed in a custom prefix and PATH /
LD_LIBRARY_PATH is set accordingly.
---
lang/python/tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index bc571fe..83c4d8e 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -26,7 +26,7 @@ test_srcdir = $(top_srcdir)/tests/gpg
TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) \
LC_ALL=C GPG_AGENT_INFO= \
top_srcdir=$(top_srcdir) \
- LD_LIBRARY_PATH="../../../src/.libs" \
+ LD_LIBRARY_PATH="../../../src/.libs:$(LD_LIBRARY_PATH)" \
PYTHONPATH=`echo $(abs_builddir)/../build/lib.*`
py_tests = t-wrapper.py \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list