BIND 10 trac890, updated. ac7ff7f2226bdba60809b70caa82659b77c6e2e6 [trac890] added some more detailed comments about the addition of rpath to LDFLAGS.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon May 2 18:34:29 UTC 2011
The branch, trac890 has been updated
via ac7ff7f2226bdba60809b70caa82659b77c6e2e6 (commit)
from 677cebce1708ba85e46a0712d939176dc7ab7a94 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ac7ff7f2226bdba60809b70caa82659b77c6e2e6
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon May 2 11:34:14 2011 -0700
[trac890] added some more detailed comments about the addition of rpath
to LDFLAGS.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index dcd472c..acd8c93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -411,6 +411,14 @@ if test -x "${BOTAN_CONFIG}" ; then
BOTAN_RPATH="${BOTAN_RPATH} `echo $flag | sed -ne 's/^\(\-L\)/-R/p'`"
done
AC_SUBST(BOTAN_RPATH)
+
+ # According to the libtool manual, it should be sufficient if we
+ # specify the "-R libdir" in our wrapper library of botan (no other
+ # programs will need libbotan directly); "libdir" should be added to
+ # the program's binary image. But we've seen in our build environments
+ # that (some versions of?) libtool doesn't propagate -R as documented,
+ # and it caused a linker error at run time. To work around this, we
+ # also add the rpath to the global LDFLAGS.
LDFLAGS="$BOTAN_RPATH $LDFLAGS"
fi
More information about the bind10-changes
mailing list