summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2019-12-04 17:24:37 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2019-12-04 17:24:37 +0200
commitccb68a69450766276b0a23397197f4ec8b060145 (patch)
tree9dc5e52bf3a991ea44d5ab91f8a34fdc2ef1b970
parentceb9cbdf0302d9f6e7c7d381c1f958582675bc2a (diff)
downloadmailutils-ccb68a69450766276b0a23397197f4ec8b060145.tar.gz
mailutils-ccb68a69450766276b0a23397197f4ec8b060145.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.