From 59c236f3e91fc0eab00f7b2dfb10ad5da715c228 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 3 Mar 2003 22:33:56 +0000 Subject: [PATCH] * krb5-config.in (lib_flags): Prune out CFLAGS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15217 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 2 ++ src/krb5-config.in | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index cb2d129a9..104ebcc6f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2003-03-03 Tom Yu + * krb5-config.in (lib_flags): Prune out CFLAGS. + * aclocal.m4: Remove KRB_INCLUDE; it's now in pre.in. Remove ADD_DEF and uses thereof, thus allowing CPPFLAGS to be a user parameter. diff --git a/src/krb5-config.in b/src/krb5-config.in index 3aa01ad74..d5ace8b39 100644 --- a/src/krb5-config.in +++ b/src/krb5-config.in @@ -175,7 +175,8 @@ if test -n "$do_libs"; then -e 's#\$(PROG_RPATH)#'$libdir'#' \ -e 's#\$(PROG_LIBPATH)#-L'$libdir'#' \ -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \ - -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#'` + -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \ + -e 's#\$(CFLAGS)#'"$CFLAGS"'#'` if test $library = 'kdb'; then lib_flags="$lib_flags -lkdb5 -ldb" -- 2.26.2