On Mon, Apr 21, 2014 at 01:33:12PM -0400, Sam Hartman wrote: > >>>>> "Jelmer" == Jelmer Vernooij <jel...@debian.org> writes: > > Jelmer> On Mon, Apr 21, 2014 at 09:22:46AM -0400, Sam Hartman wrote: > >> control: tags -1 -patch > >> > >> >>>>> "Jelmer" == Jelmer Vernooij <jel...@debian.org> writes: > >> > Jelmer> The attached patch fixes krb5-config to always spit out -L and -I > Jelmer> flags. > >> > >> We actually go to a lot of trouble to *not* do that because we've run > >> into cases where including -L and -I can change behavior when included > >> for the system paths. > Jelmer> This would never spit out system paths, just the Kerberos-specific > Jelmer> paths (-L/usr/lib/TRIPLET/mit-krb5 and -I/usr/include/mit-krb5) > Jelmer> because of the two other changes in this patch. > > But it means that if I install libkrb5-dev, then I'll get kerberos paths > not system paths. > That seems mildly undesirable to me although I guess .pc files get > similar results. That seems fine. The reverse situation (where krb5-config spits out -I/usr/include or -L/usr/lib) is problematic because it means the system path can precede other explicit -L or -I arguments, and there are more libraries in the system directories.
Cheers, Jelmer -- Jelmer Vernooij <jel...@debian.org> Debian Developer http://samba.org/~jelmer/
signature.asc
Description: Digital signature