krb5-config --libs output

Greg Hudson ghudson at MIT.EDU
Thu Dec 27 12:49:25 EST 2012

On 12/27/2012 08:08 AM, Eray Aslan wrote:
> The --libs output is somewhat surprising.  Why do we have the LDFLAGS in
> there?

I'm not sure.  It's been that way since the script was added in 2001.
I'd be a little afraid of breaking downstream users who have (probably
unintentionally) come to rely on the current behavior, especially since
there aren't really strong conventions for -config scripts.

We have a pending patch to add pkg-config data files, which are a bit
more structured and wouldn't have to contain the same mistakes.
(Heimdal has already taken such a patch, as well.)

More information about the krbdev mailing list