<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hello Nikos,<br>
<br>
On 4-3-2018 22:45, Nikos Mavrogiannopoulos
<a class="moz-txt-link-rfc2396E" href="mailto:nmav@gnutls.org"><nmav@gnutls.org></a> wrote:</tt><tt><br>
</tt></div>
<blockquote
cite="mid:CAJU7zaJKxDzDenBjJfAG3D0Qe=6XY4iBEQeK4iYRCZ1ZHBnVVQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr"><tt>On Sun, Mar 4, 2018 at 4:07 PM Reino
Wijnsma <</tt><tt><a moz-do-not-send="true"
href="mailto:rwijnsma@xs4all.nl">rwijnsma@xs4all.nl</a></tt><tt>>
wrote:</tt><tt><br>
</tt></div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hello
gnutls-devs,</tt><tt><br>
</tt> <tt><br>
</tt><tt> I'm cross-compiling FFmpeg with GnuTLS (on
Windows using Cygwin, MinGW and GCC) for TLS 1.2
support.</tt><tt><br>
</tt><tt> Without intervention FFmpeg's configure would
always fail:</tt><tt><br>
</tt> <tt><br>
</tt><tt>[...]</tt><tt><br>
</tt><tt> I've always had to update '</tt><tt><a
moz-do-not-send="true" href="http://gnutls.pc.in"
target="_blank">gnutls.pc.in</a></tt><tt>':</tt><tt><br>
</tt> <tt><br>
</tt><tt> prefix=@prefix@</tt><tt><br>
</tt><tt> exec_prefix=@exec_prefix@</tt><tt><br>
</tt><tt> libdir=@libdir@</tt><tt><br>
</tt><tt> includedir=@includedir@</tt><tt><br>
</tt><tt> [...]</tt><tt><br>
</tt> <tt><br>
</tt><tt> but as FFmpeg only checks the pkg-config file, I
believe '</tt><tt><a moz-do-not-send="true"
href="http://gnutls.pc.in" target="_blank">gnutls.pc.in</a></tt><tt>'
is this case is in need of an update.</tt><tt><br>
</tt></div>
</blockquote>
<div><tt><br>
</tt></div>
<div><tt>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?</tt><tt><br>
</tt></div>
</div>
</div>
</blockquote>
<tt>I would if I could, but I simply don't have the know-how. I
don't know GnuTLS's inner workings that good either.<br>
I just came around the corner last year compiling stuff for the
first time. I've learned a lot and I'm happy I've managed to solve
this issue with FFmpeg for now.<br>
All I know is that while configuring GnuTLS it would have to
detect mingw32 / mingw64 (Windows) and add -lcrypt32 to the pc
file.<br>
<br>
-- Reino<br>
</tt>
</body>
</html>