Let the dependency checker deal with winsock2's extralibs.
authorRamiro Polla <ramiro.polla@gmail.com>
Wed, 26 Sep 2007 16:57:19 +0000 (16:57 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Wed, 26 Sep 2007 16:57:19 +0000 (16:57 +0000)
Originally committed as revision 10593 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index ae8e6ff794bc0919db73eefb08bb275924bba907..60db84fe6cd58624a8228591ca31c04ae09b8cec 100755 (executable)
--- 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