From: Björn Jacke Date: Sat, 16 Feb 2019 00:23:29 +0000 (+0100) Subject: third_party/nss_wrapper/wscript: check for libnsl and libsocket X-Git-Tag: ldb-1.6.1~88 X-Git-Url: http://git.samba.org/samba.git/?p=gd%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=a87660b3c47e5bb362a89ad83f7deb2c8306aa24 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 Reviewed-by: Andreas Schneider Autobuild-User(master): Björn Jacke Autobuild-Date(master): Sun Feb 17 15:05:20 CET 2019 on sn-devel-144 --- 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,