summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2019-02-16 01:23:29 +0100
committerBjoern Jacke <bjacke@samba.org>2019-02-17 15:05:20 +0100
commita87660b3c47e5bb362a89ad83f7deb2c8306aa24 (patch)
treebc0fdd1e4425fa9adbb644e6b88314b783df6998 /third_party
parentb8bf7ef87e29daa18b079d221ffa3252d1719f2a (diff)
downloadsamba-a87660b3c47e5bb362a89ad83f7deb2c8306aa24.tar.gz
third_party/nss_wrapper/wscript: check for libnsl and libsocket
this is needed as there are HAVE_LIBNSL and HAVE_LIBSOCKET in the code and Samba fails to build in a terrible obscure way on Solaris if this is not working inside nss_wrapper here. Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Björn Jacke <bjacke@samba.org> Autobuild-Date(master): Sun Feb 17 15:05:20 CET 2019 on sn-devel-144
Diffstat (limited to 'third_party')
-rw-r--r--third_party/nss_wrapper/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/nss_wrapper/wscript b/third_party/nss_wrapper/wscript
index fb9710636c4..68e301cb1ad 100644
--- a/third_party/nss_wrapper/wscript
+++ b/third_party/nss_wrapper/wscript
@@ -32,6 +32,7 @@ def configure(conf):
conf.CHECK_FUNCS('__posix_getpwnam_r __posix_getpwuid_r')
conf.CHECK_FUNCS('__posix_getgrgid_r __posix_getgrnam_r')
+ conf.CHECK_LIB('nsl socket')
conf.CHECK_FUNCS_IN('gethostname',
'nsl',
checklibc=True,