Commit ea10ddde authored by Ramiro Polla's avatar Ramiro Polla

Let the dependency checker deal with winsock2's extralibs.

Originally committed as revision 10593 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2ddcf84b
...@@ -1637,7 +1637,7 @@ if enabled network; then ...@@ -1637,7 +1637,7 @@ if enabled network; then
if check_header arpa/inet.h ; then if check_header arpa/inet.h ; then
check_func closesocket check_func closesocket
elif check_header winsock2.h ; then elif check_header winsock2.h ; then
add_extralibs -lws2_32 network_extralibs="-lws2_32"
check_func2 winsock2.h closesocket check_func2 winsock2.h closesocket
fi fi
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment