summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2019-12-04 15:24:37 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-12-14 11:50:06 (GMT)
commit23ab03e67910ea069c25a144378cf8de40d44a28 (patch) (side-by-side diff)
treedd09636cd09db5121238a2ff690f0c9e808705a5
parent572b09b3ef3ac1a2786912e4acab117484fbb510 (diff)
downloadmailutils-23ab03e67910ea069c25a144378cf8de40d44a28.tar.gz
mailutils-23ab03e67910ea069c25a144378cf8de40d44a28.tar.bz2
Make sure LD_LIBRARY_PATH overrides the DT_RPATH tag on FreeBSD
* testsuite/testsuite.inc: Set LD_LIBRARY_PATH_RPATH variable to "y" before running tests.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--testsuite/testsuite.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/testsuite.inc b/testsuite/testsuite.inc
index 312ba50..42b92d7 100644
--- a/testsuite/testsuite.inc
+++ b/testsuite/testsuite.inc
@@ -69,3 +69,12 @@ fi
m4_popdef([__basename])
m4_popdef([__dst])
])
+
+m4_divert_text(PREPARE_TESTS,
+[# This setting is needed on FreeBSD to ensure the LD_LIBRARY_PATH overrides
+# the DT_RPATH tag in ELF header. See
+# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27510
+# for details.
+LD_LIBRARY_PATH_RPATH=y
+export LD_LIBRARY_PATH_RPATH
+])

Return to:

Send suggestions and report system problems to the System administrator.