[12098] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #6965] SVN Commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Sep 26 11:32:54 2011

Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@krbdev.MIT.EDU>
In-Reply-To: <rt-6965@krbdev.mit.edu>
Message-ID: <rt-6965-34293.8.5934945948636@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #6965'":;"'AdminCc of krbdev.mit.edu Ticket #6965'":;@MIT.EDU
Date: Mon, 26 Sep 2011 11:32:52 -0400 (EDT)
Reply-To: rt-comment@krbdev.MIT.EDU
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


r15217 apparently intended to prune $(CFLAGS) from the --libs output,
but actually substituted in the value from the invoker's environment.
Actually prune it.

Don't output external dependencies like -lresolv or -ldl in
krb5-config --libs.  We already don't generate output suitable for
static linking because we omit -lkrb5support, and there is no
expectation that bringing in the krb5 API also brings in the resolv or
dl APIs for the application.

We still output internal dependencies and a com_err dependency; for
instance, e.g. krb5-config --libs gssapi outputs a dependency on -lkrb5
and -lk5crypto, which is inappropriate for a program using only GSSAPI
interfaces.  Removing internal dependencies would likely break callers
who have come to depend on them, especially as we've never correctly
supported things like "krb5-config --libs gssapi krb5" for a program
using multiple APIs.

>From stephane@archlinux.org with changes.

http://src.mit.edu/fisheye/changelog/krb5/?cs=25236
Commit By: ghudson
Revision: 25236
Changed Files:
U   trunk/src/krb5-config.in

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post