diff options
-rw-r--r-- | source3/wscript_build | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index b71d2b7cd4..3c8d2cdeab 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -671,8 +671,7 @@ DEBUG2HTML_SRC = '''utils/debug2html.c utils/debugparse.c''' SMBFILTER_SRC = '''utils/smbfilter.c''' -WINBIND_WINS_NSS_SRC = '''../nsswitch/wins.c ${PARAM_SRC} - ${LIB_NONSMBD_SRC} ${LIBSMB_ERR_SRC}''' +WINBIND_WINS_NSS_SRC = '''../nsswitch/wins.c''' WBINFO_SRC = '''../nsswitch/wbinfo.c''' @@ -785,6 +784,13 @@ bld.SAMBA_LIBRARY('nss_winbind', realname='libnss_winbind.so.2', vnum='2') +bld.SAMBA_LIBRARY('nss_wins', + source=WINBIND_WINS_NSS_SRC, + deps='''WBCOMMON PARAM LIBSMB LIB_NONSMBD LIBTSOCKET KRBCLIENT + cap wbclient''', + realname='libnss_wins.so.2', + vnum='2') + if bld.CONFIG_SET('WITH_PAM_MODULES'): bld.SAMBA_LIBRARY('pamwinbind', source=PAM_WINBIND_SRC, |