wrong gnutls.pc

Andreas Metzler ametzler at downhill.at.eu.org
Sun Feb 28 09:12:35 CET 2010


On 2010-02-28 Vincent Torri <vincent.torri at gmail.com> wrote:
> On Sat, Feb 27, 2010 at 8:06 PM, Andreas Metzler <
> ametzler at downhill.at.eu.org> wrote:
[...]

> > So the major upside of Requires.private over Libs.private is that
> > pkg-config could recourse over the required libraries dependencies?
> >
> > pkg-config(1) is rather short, it basically just says
> >
> > "[Libs.private:] This differs from Requires.private: in that
> > it references libraries that do not have package files installed."
> >
> > without saying why Requires.private /should/ be used for pkg-config
> > using libraries.
> >

> 1) If the dep is a lib that has a .pc then put it in Requires.private (like
> libtasn1)
> 2) if the dep does not have one, put -lfoo in Libs.private (like libgcrypt
> or zlib)

> that's the rules to follow.

That is what I gathered, I was wondering about the rationale.
cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'





More information about the Gnutls-devel mailing list