Re: wrong gnutls.pc

From:

Andreas Metzler

Subject:

Re: wrong gnutls.pc

Date:

Sun, 28 Feb 2010 09:12:35 +0100

User-agent:

Mutt/1.5.18 (2008-05-17)

On 2010-02-28 Vincent Torri <address@hidden> wrote:
> On Sat, Feb 27, 2010 at 8:06 PM, Andreas Metzler <
> address@hidden> 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'