third_party/nss_wrapper/wscript: check for libnsl and libsocket
[samba.git] / third_party / nss_wrapper / wscript
index fb9710636c429a079e18c81b437d6d60a0f1253b..68e301cb1adb2f1e1bb842448ffcf001fd546e19 100644 (file)
@@ -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,