summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wscript_build12
1 files changed, 12 insertions, 0 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 80f11871c9..9303ace0da 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -18,3 +18,15 @@ bld.SAMBA_BINARY('wbinfo',
deps='LIBSAMBA-UTIL LIBCLI_AUTH popt POPT_SAMBA LIBWINBIND-CLIENT LIBWBCLIENT tevent UTIL_TEVENT LIBASYNC_REQ UID_WRAPPER'
)
+bld.SAMBA_LIBRARY('nsswinbind',
+ source='../nsswitch/winbind_nss_linux.c',
+ deps='LIBWINBIND-CLIENT',
+ realname='libnss_winbind.so',
+ vnum='2')
+
+bld.SAMBA_LIBRARY('pamwinbind',
+ source='../nsswitch/pam_winbind.c',
+ deps='talloc LIBWBCLIENT LIBWINBIND-CLIENT LIBINIPARSER pam',
+ cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
+ realname='pam_winbind.so',
+ )