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:
parent
2a613e8715
commit
ab6f66d676
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user