mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-24 01:14:05 +08:00
Let the dependency checker deal with winsock2's extralibs.
Originally committed as revision 10593 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -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
|
||||||
|
Reference in New Issue
Block a user