summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2022-01-05 16:22:54 +0000
committerGlenn Strauss <gstrauss@gluelogic.com>2022-01-06 02:03:31 -0500
commitc0f040eae744e8688045d892d4fa150a7041a82b (patch)
treebff369965cf00913501df5781cfb59da6f403faf /configure.ac
parent1b11cd7aebfbc6a944ff21961dc44a5e537a92f6 (diff)
downloadlighttpd-git-c0f040eae744e8688045d892d4fa150a7041a82b.tar.gz
[build] Haiku build fix (fixes #3136)
Haiku needs to link to additional lib -lnetwork for socket funcs (similar to Solaris need for -lsocket -lnsl) (edited: gstrauss) x-ref: "haiku build fix proposal" https://redmine.lighttpd.net/issues/3136
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])