s3-waf: let winbind depend on SRV_NDR_WBINT and RPCCLI_NDR_WBINT.
[samba.git] / nsswitch / wscript_build
index f458776f92f06f471ad6139de171b83f762a2453..eb3beb3cd70d964e042754ad6bede3de2fe0239e 100644 (file)
@@ -18,10 +18,10 @@ bld.SAMBA_BINARY('wbinfo',
        deps='LIBSAMBA-UTIL LIBCLI_AUTH popt POPT_SAMBA LIBWINBIND-CLIENT LIBWBCLIENT tevent UTIL_TEVENT LIBASYNC_REQ UID_WRAPPER LIBSECURITY_COMMON LIBNDR NDR_SECURITY'
        )
 
-bld.SAMBA_LIBRARY('nsswinbind',
+bld.SAMBA_LIBRARY('nss_winbind',
     source='../nsswitch/winbind_nss_linux.c',
     deps='LIBWINBIND-CLIENT',
-    realname='libnss_winbind.so',
+    realname='libnss_winbind.so.2',
     vnum='2')
 
 if bld.CONFIG_SET('HAVE_PAM_START'):