summaryrefslogtreecommitdiff
path: root/libextra/m4/hooks.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libextra/m4/hooks.m4')
-rw-r--r--libextra/m4/hooks.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/libextra/m4/hooks.m4 b/libextra/m4/hooks.m4
index b9ee2dde68..e11e4057e5 100644
--- a/libextra/m4/hooks.m4
+++ b/libextra/m4/hooks.m4
@@ -29,4 +29,7 @@ AC_DEFUN([LIBGNUTLS_EXTRA_HOOKS],
enable_openssl=$withval, enable_openssl=yes)
AC_MSG_RESULT($enable_openssl)
AM_CONDITIONAL(ENABLE_OPENSSL, test "$enable_openssl" = "yes")
+
+ # We link to ../lib's gnulib, which needs -lws2_32 via LIBSOCKET in Makefile.am.
+ gl_SOCKETS
])