aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-08 13:04:01 +0000
committerAndre Heinecke <[email protected]>2016-08-08 13:04:01 +0000
commitab6f66d676581cb497e581e4af40e2fe5bff507b (patch)
tree3f5b2d823244977a263ff09be4fdf0180db913a2
parentpython: Clean up and modernize examples. (diff)
downloadgpgme-ab6f66d676581cb497e581e4af40e2fe5bff507b.tar.gz
gpgme-ab6f66d676581cb497e581e4af40e2fe5bff507b.zip
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.
-rw-r--r--lang/python/tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index bc571fe4..83c4d8e0 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 \