aboutsummaryrefslogtreecommitdiff
blob: 8a6a695eb63ffea5120ef888d9c2e0fc5fb9d24e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
The test env manipulates $PATH, executing binaries whose libraries 
have not yet been installed into the standard library search path.
Thus we manipulate LD_LIBRARY_PATH so that the current binaries 
run with the current libraries.

http://bugs.gentoo.org/show_bug.cgi?id=81628

--- gettext-tools/tests/Makefile.in
+++ gettext-tools/tests/Makefile.in
@@ -122,6 +122,7 @@
 
 TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
 		    PATH=.:../src:../../gettext-runtime/src:$(top_srcdir)/../gettext-runtime/src:$$PATH \
+		    LD_LIBRARY_PATH=../lib/.libs:../src/.libs:$$LD_LIBRARY_PATH \
 		    GETTEXT="$(CHECKER) tstgettext" \
 		    NGETTEXT="$(CHECKER) tstngettext" \
 		    XGETTEXT="$(CHECKER) xgettext" \