summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/krb5-config.in3
2 files changed, 4 insertions, 1 deletions
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 <tlyu@mit.edu>
+ * 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"