krb5-config --libs output

Eray Aslan eray.aslan at caf.com.tr
Thu Dec 27 08:08:40 EST 2012


# krb5-config --version
Kerberos 5 release 1.11
# krb5-config --libs
-L/usr/lib64 -Wl,-O1 -Wl,--as-needed -lkrb5 -lk5crypto -lcom_err

The --libs output is somewhat surprising.  Why do we have the LDFLAGS in
there?  Packages using krb5-config --libs output to specify libraries
to link against are not happy - those are the LDFLAGS for krb5 not for
the package that depends on krb5.

This behaviour is trivial to change in krb5-config.in but am I missing
something?

-- 
Eray


More information about the krbdev mailing list