From 1b1503dd381adc834f62168532d9e5adc9321d05 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 15 Jun 2006 22:21:58 +0000 Subject: [PATCH] * config/pre.in (KRB5_BASE_LIBS): Add $(DL_LIB). * krb5-config.in: Add DL_LIB. ticket: 3838 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18149 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/pre.in | 2 +- src/krb5-config.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config/pre.in b/src/config/pre.in index d05e06b67..cb7ac0cb1 100644 --- a/src/config/pre.in +++ b/src/config/pre.in @@ -388,7 +388,7 @@ DES425_LIB = @DES425_LIB@ # HESIOD_LIBS is -lhesiod... HESIOD_LIBS = @HESIOD_LIBS@ -KRB5_BASE_LIBS = $(KRB5_LIB) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(GEN_LIB) $(LIBS) +KRB5_BASE_LIBS = $(KRB5_LIB) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(GEN_LIB) $(LIBS) $(DL_LIB) KRB4COMPAT_LIBS = $(KRB4_LIB) $(DES425_LIB) $(KRB5_BASE_LIBS) KDB5_LIBS = $(KDB5_LIB) GSS_LIBS = $(GSS_KRB5_LIB) diff --git a/src/krb5-config.in b/src/krb5-config.in index cf2be4947..c8a96ad01 100755 --- a/src/krb5-config.in +++ b/src/krb5-config.in @@ -38,6 +38,7 @@ KDB5_DB_LIB=@KDB5_DB_LIB@ LDFLAGS='@LDFLAGS@' RPATH_FLAG='@RPATH_FLAG@' PTHREAD_CFLAGS='@PTHREAD_CFLAGS@' +DL_LIB='@DL_LIB@' LIBS='@LIBS@' GEN_LIB=@GEN_LIB@ @@ -216,7 +217,7 @@ if test -n "$do_libs"; then fi if test $library = 'krb5'; then - lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err -lkrb5support $GEN_LIB $LIBS" + lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err -lkrb5support $GEN_LIB $LIBS $DL_LIB" fi echo $lib_flags -- 2.26.2