diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/krb5-config.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/krb5-config.in b/src/krb5-config.in index 8435d02b0..b476b4fdd 100755 --- a/src/krb5-config.in +++ b/src/krb5-config.in @@ -186,7 +186,7 @@ if test -n "$do_libs"; then -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \ -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \ -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \ - -e 's#\$(CFLAGS)#'"$CFLAGS"'#'` + -e 's#\$(CFLAGS)##'` if test $library = 'kdb'; then lib_flags="$lib_flags -lkdb5 $KDB5_DB_LIB" @@ -214,9 +214,13 @@ if test -n "$do_libs"; then fi if test $library = 'krb5'; then - lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err $GEN_LIB $LIBS $DL_LIB" + lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err" fi + # If we ever support a flag to generate output suitable for static + # linking, we would output "-lkrb5support $GEN_LIB $LIBS $DL_LIB" + # here. + echo $lib_flags fi |
