summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 976dfe24..dc4bfc02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,8 +146,8 @@ AC_CHECK_TYPES([socklen_t],
)
dnl openssl on solaris needs -lsocket -lnsl
-AC_SEARCH_LIBS([socket], [socket])
-AC_SEARCH_LIBS([gethostbyname], [nsl socket])
+AC_SEARCH_LIBS([socket], [socket network])
+AC_SEARCH_LIBS([gethostbyname], [nsl socket network])
dnl On Haiku accept() and friends are in libnetwork
AC_SEARCH_LIBS([accept], [network])