From 6aef90b48f7cebe0f590e3a86785d9968a9623c9 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 17 Nov 2000 00:45:42 +0000 Subject: [PATCH] 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 --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 3714a3bd4..1734ee25d 100644 --- a/configure.in +++ b/configure.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'