[FFmpeg-devel] [PATCH] Check for the winsock library name

Martin Storsjö martin
Tue Jul 14 15:13:08 CEST 2009

On Tue, 14 Jul 2009, M?ns Rullg?rd wrote:

> This will only enable closesocket in the -lws2 case.  Try this:

Ah, true, missed that one.

>     check_func_headers winsock2.h closesocket -lws2 &&
>         network_extralibs="-lws2" ||
>     { check_func_headers winsock2.h closesocket -lws2_32 &&
>         network_extralibs="-lws2_32"; }

This seems to work just fine, thanks!

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Check-for-the-winsock-library-name.patch
Type: text/x-diff
Size: 767 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090714/fb8390da/attachment.patch>

More information about the ffmpeg-devel mailing list