From ea10ddde965c1cd773d14a0227fd659133ff8db2 Mon Sep 17 00:00:00 2001
From: Ramiro Polla <ramiro.polla@gmail.com>
Date: Wed, 26 Sep 2007 16:57:19 +0000
Subject: [PATCH] Let the dependency checker deal with winsock2's extralibs.

Originally committed as revision 10593 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index ae8e6ff794b..60db84fe6cd 100755
--- a/configure
+++ b/configure
@@ -1637,7 +1637,7 @@ if enabled network; then
     if check_header arpa/inet.h ; then
         check_func closesocket
     elif check_header winsock2.h ; then
-        add_extralibs -lws2_32
+        network_extralibs="-lws2_32"
         check_func2 winsock2.h closesocket
     fi
 fi
-- 
GitLab