summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2014-07-15 14:18:39 +0200
committerMagnus Hagander <magnus@hagander.net>2014-07-15 14:18:39 +0200
commita16bac36eca8158cbf78987e95376f610095f792 (patch)
tree560cb781a3234f68aacb6812c82c0eafc912d2f1 /configure.in
parentf162fb75b329bc5370b3ece59f5ef0d5ba0f15d6 (diff)
downloadpostgresql-a16bac36eca8158cbf78987e95376f610095f792.tar.gz
Remove dependency on wsock32.lib in favor of ws2_32
ws2_32 is the new version of the library that should be used, as it contains the require functionality from wsock32 as well as some more (which is why some binaries were already using ws2_32). Michael Paquier, reviewed by MauMau
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index c938a5d6c6..9d1f118764 100644
--- a/configure.in
+++ b/configure.in
@@ -891,7 +891,7 @@ fi
AC_CHECK_LIB(m, main)
AC_SEARCH_LIBS(setproctitle, util)
AC_SEARCH_LIBS(dlopen, dl)
-AC_SEARCH_LIBS(socket, [socket wsock32])
+AC_SEARCH_LIBS(socket, [socket ws2_32])
AC_SEARCH_LIBS(shl_load, dld)
# We only use libld in port/dynloader/aix.c
case $host_os in