Link with winsock library for socket functions on MinGW

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY 2015-03-17 17:49:14 +00:00 committed by Uli Schlachter
parent 5b40681c88
commit c5d923d8ff

View File

@ -206,6 +206,15 @@ case $host_os in
;;
esac
dnl Link with winsock for socket functions on MinGW
case $host_os in
*mingw*)
AC_CHECK_LIB([ws2_32],[main])
;;
*)
;;
esac
XCB_EXTENSION(Composite, yes)
XCB_EXTENSION(Damage, yes)
XCB_EXTENSION(DPMS, yes)