summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2019-12-04 17:24:37 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-12-14 13:50:06 +0200
commit23ab03e67910ea069c25a144378cf8de40d44a28 (patch)
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.
-rw-r--r--testsuite/testsuite.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/testsuite.inc b/testsuite/testsuite.inc
index 312ba50ac..42b92d7da 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.