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

[trac890] re-added BOTAN_RPATH to cryptolink/

according to the libtool manual,
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'`"
......@@ -11,4 +11,4 @@ lib_LTLIBRARIES =
libcryptolink_la_SOURCES = cryptolink.h
libcryptolink_la_SOURCES += crypto_hmac.h
libcryptolink_la_LIBADD = ${BOTAN_LDFLAGS}
libcryptolink_la_LIBADD = ${BOTAN_LDFLAGS} ${BOTAN_RPATH}
Supports Markdown
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