Commit 677cebce authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac890] re-added BOTAN_RPATH to cryptolink/Makefile.am.

according to the libtool manual,
http://www.gnu.org/software/libtool/manual/html_node/Link-mode.html
the intent seems to propagate -R from a library's dependency_libs to
the program that uses the library.  On our systems libtool doesn't do
this propagation and we needed the global rpath, but if the documentation
is correct, there may be a version of libtool that works.
parent f0fe344b
......@@ -410,6 +410,7 @@ if test -x "${BOTAN_CONFIG}" ; then
for flag in ${BOTAN_LDFLAGS}; do
BOTAN_RPATH="${BOTAN_RPATH} `echo $flag | sed -ne 's/^\(\-L\)/-R/p'`"
done
AC_SUBST(BOTAN_RPATH)
LDFLAGS="$BOTAN_RPATH $LDFLAGS"
fi
......
......@@ -11,4 +11,4 @@ lib_LTLIBRARIES = libcryptolink.la
libcryptolink_la_SOURCES = cryptolink.h cryptolink.cc
libcryptolink_la_SOURCES += crypto_hmac.h crypto_hmac.cc
libcryptolink_la_LIBADD = ${BOTAN_LDFLAGS}
libcryptolink_la_LIBADD = ${BOTAN_LDFLAGS} ${BOTAN_RPATH}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment