summaryrefslogtreecommitdiff
path: root/gl/m4/close.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/close.m4')
-rw-r--r--gl/m4/close.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/gl/m4/close.m4 b/gl/m4/close.m4
index fcc9fb1952..29d3abdd13 100644
--- a/gl/m4/close.m4
+++ b/gl/m4/close.m4
@@ -22,4 +22,6 @@ AC_DEFUN([gl_REPLACE_CLOSE],
fi
REPLACE_CLOSE=1
gl_REPLACE_FCLOSE
+ LIB_CLOSE="-lws2_32"
+ AC_SUBST([LIB_CLOSE])
])