summaryrefslogtreecommitdiff
path: root/nsswitch/wscript_build
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-06-05 19:16:20 +0400
committerMatthieu Patou <mat@matws.net>2010-07-17 18:05:12 +0400
commitdbbfad82862343eed0be86c8ca4fa23bdff5beb5 (patch)
treee5ccf8b5d1c7daa3a5a38347b58e818e92a370f8 /nsswitch/wscript_build
parente461e29cd9a81d4a74fcd489c2c7b693b49f41d4 (diff)
downloadsamba-dbbfad82862343eed0be86c8ca4fa23bdff5beb5.tar.gz
samba-dbbfad82862343eed0be86c8ca4fa23bdff5beb5.tar.bz2
samba-dbbfad82862343eed0be86c8ca4fa23bdff5beb5.zip
s4-waf: add the missing bits for builing nss_winbind and pam_winbind
This is something that was not picked up during the migration to waf
Diffstat (limited to 'nsswitch/wscript_build')
-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',
+ )