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.
This commit is contained in:
Andre Heinecke 2016-08-08 15:04:01 +02:00
parent 2a613e8715
commit ab6f66d676

View File

@ -26,7 +26,7 @@ test_srcdir = $(top_srcdir)/tests/gpg
TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) \ TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) \
LC_ALL=C GPG_AGENT_INFO= \ LC_ALL=C GPG_AGENT_INFO= \
top_srcdir=$(top_srcdir) \ top_srcdir=$(top_srcdir) \
LD_LIBRARY_PATH="../../../src/.libs" \ LD_LIBRARY_PATH="../../../src/.libs:$(LD_LIBRARY_PATH)" \
PYTHONPATH=`echo $(abs_builddir)/../build/lib.*` PYTHONPATH=`echo $(abs_builddir)/../build/lib.*`
py_tests = t-wrapper.py \ py_tests = t-wrapper.py \