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

Diego Biurrun diego
Tue Jul 14 16:02:32 CEST 2009


On Tue, Jul 14, 2009 at 04:13:08PM +0300, Martin Storsj? wrote:
> 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!

Applied.

Diego



More information about the ffmpeg-devel mailing list