use the libtool -rpath, do not rely on ld understanding -rpath
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9207 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -154,8 +154,8 @@ if test "$with_krb4" != "no"; then
|
||||
CFLAGS="$save_CFLAGS"
|
||||
LIB_kdb="-lkdb -lkrb"
|
||||
if test "$krb4_libdir"; then
|
||||
LIB_krb4="-Wl,-rpath -Wl,$krb4_libdir $LIB_krb4"
|
||||
LIB_kdb="-Wl,-rpath -Wl,$krb4_libdir -L$krb4_libdir $LIB_kdb"
|
||||
LIB_krb4="-rpath $krb4_libdir $LIB_krb4"
|
||||
LIB_kdb="-rpath $krb4_libdir -L$krb4_libdir $LIB_kdb"
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(KRB4, test "$with_krb4" != "no")
|
||||
@@ -561,7 +561,7 @@ if test "$ac_cv_func_des_cbc_encrypt" = "yes" -a \
|
||||
\( "$ac_cv_func_SHA1Init" = "yes" -o "$ac_cv_func_SHA1_Init" = "yes" \) -a \
|
||||
"$ac_cv_func_RC4" = "yes"; then
|
||||
DIR_des=''
|
||||
LIB_des="-Wl,-rpath -Wl,$krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init"
|
||||
LIB_des="-rpath $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init"
|
||||
else
|
||||
DIR_des='des'
|
||||
LIB_des='$(top_builddir)/lib/des/libdes.la'
|
||||
|
Reference in New Issue
Block a user