[gnutls-devel] gnutls.pc includes invalid flags

Andreas Metzler ametzler at bebt.de
Sat Mar 25 15:30:43 CET 2017

On 2017-03-24 Andreas Metzler <ametzler at bebt.de> wrote:
> On 2017-03-23 Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> > On Wed, Mar 22, 2017 at 6:57 PM, Andreas Metzler <ametzler at bebt.de> wrote:
> [...]
> [...]
> > > This issue is still open:
> > > | ... fix duplicate reference to zlib. If zlib.pc was present it would
> > > | be listed in both Requires.private and Libs.private.
> > >
> > > I had listed this in suggested patch's commit message  but forgot to
> > > mention it in the mail, sorry.

> > I saw it but didn't have anything good to propose and then I forgot
> > about it. What about something like that patch?
> [...]

> Works for me. Tested both with and without having zlib.pc available.

Now in GIT, thank you!

Almost the same issue exist for p11-kit, it is also in both Libs.private
and Requires.private. However since compilation requires that
p11-kit-1.pc is present and does not allow non-pkgconfig p11-kit the fix
is trivial. Just drop @P11_KIT_LIBS@ from Libs.private.

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