summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass
diff options
context:
space:
mode:
Diffstat (limited to 'source3/pam_smbpass')
-rw-r--r--source3/pam_smbpass/wscript_build13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/pam_smbpass/wscript_build b/source3/pam_smbpass/wscript_build
new file mode 100644
index 0000000000..39e615e811
--- /dev/null
+++ b/source3/pam_smbpass/wscript_build
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+if bld.CONFIG_SET('HAVE_PAM_START'):
+ bld.SAMBA_LIBRARY('pamsmbpass',
+ source='''pam_smb_auth.c
+ pam_smb_passwd.c
+ pam_smb_acct.c
+ support.c''',
+ deps='''tdb talloc pam libwbclient cap ASN1_UTIL PARAM LIB_NONSMBD PASSDB GROUPDB SMBLDAP
+ LIBSAMBA LIBTSOCKET''',
+ cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
+ realname='pam_smbpass.so',
+ )