From eb60be890d9c2fe596a149c0e73f1ee14ff62571 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 16 Nov 2000 20:54:42 +0000 Subject: [PATCH] fix the -Wl stuff for krb4 linking add some gratuitous extra options when linking with an existing libdes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9205 ec53bebd-3082-4978-b11e-865c3cabbd6b --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index d111c82b5..3714a3bd4 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 $krb4_libdir $LIB_krb4" - LIB_kdb="-Wl,-rpath $krb4_libdir -L$krb4_libdir $LIB_kdb" + LIB_krb4="-Wl,-rpath -Wl,$krb4_libdir $LIB_krb4" + LIB_kdb="-Wl,-rpath -Wl,$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="$ac_cv_funclib_MD4Init" + LIB_des="-Wl,-rpath -Wl,$krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init" else DIR_des='des' LIB_des='$(top_builddir)/lib/des/libdes.la'