mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
configure: check -lws2_32 for socket() too
This commit is contained in:
parent
1859e9d7d7
commit
b45a2f351e
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ AC_CHECK_SIZEOF(long long)
|
|||
dnl Networking Functions
|
||||
dnl ====================
|
||||
|
||||
AC_SEARCH_LIBS(socket, socket, , [AC_MSG_ERROR([You have no socket()! Aborting.])])
|
||||
AC_SEARCH_LIBS(socket, [socket ws2_32], , [AC_MSG_ERROR([You have no socket()! Aborting.])])
|
||||
|
||||
dnl SunOS/Solaris required libnsl for inet_ntoa()
|
||||
if test x"$SUN" = xyes; then
|
||||
|
|
Loading…
Reference in a new issue