[gnutls-devel] Link to -lcrypt32 in pkg-config file as well

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Mar 4 22:45:25 CET 2018


On Sun, Mar 4, 2018 at 4:07 PM Reino Wijnsma <rwijnsma at xs4all.nl> wrote:

> Hello gnutls-devs,
>
> I'm cross-compiling FFmpeg with GnuTLS (on Windows using Cygwin, MinGW and
> GCC) for TLS 1.2 support.
> Without intervention FFmpeg's configure would always fail:
>
> [...]
> I've always had to update 'gnutls.pc.in':
>
> prefix=@prefix@
> exec_prefix=@exec_prefix@
> libdir=@libdir@
> includedir=@includedir@
> [...]
>
> but as FFmpeg only checks the pkg-config file, I believe 'gnutls.pc.in'
> is this case is in need of an update.
>

Thank you Reino. I think you're right. The current pkg config file is
tailored for unix systems not windows. I see that even the check for its
functionality (tests/pkgconfig.sh) is disabled under windows. Would you
like to suggest a patch (or better merge request) to handle windows in the
pc file?

regards,
Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20180304/358b2e7c/attachment-0001.html>


More information about the Gnutls-devel mailing list