summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-10-02 14:25:40 +0200
committerAndreas Schneider <asn@samba.org>2012-10-04 10:20:35 +0200
commitfb3cf6c24270d22dad8ac9a1c12e8d77c8189f11 (patch)
treeba8b6d4e02f62e076d08e5924a7809beac6800fc /source3/pam_smbpass
parent100d38d6e0fae1dc666ae43941570c9f106b73c2 (diff)
downloadsamba-fb3cf6c24270d22dad8ac9a1c12e8d77c8189f11.tar.gz
samba-fb3cf6c24270d22dad8ac9a1c12e8d77c8189f11.tar.bz2
samba-fb3cf6c24270d22dad8ac9a1c12e8d77c8189f11.zip
waf: Build pam_smbpass module only if enabled.
Diffstat (limited to 'source3/pam_smbpass')
-rw-r--r--source3/pam_smbpass/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/pam_smbpass/wscript_build b/source3/pam_smbpass/wscript_build
index 70b21d56b2..a2a2d01384 100644
--- a/source3/pam_smbpass/wscript_build
+++ b/source3/pam_smbpass/wscript_build
@@ -10,5 +10,6 @@ if bld.CONFIG_SET('WITH_PAM_MODULES'):
LIBNTLMSSP LIBTSOCKET''',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_smbpass.so',
- install_path='${PAMMODULESDIR}'
+ install_path='${PAMMODULESDIR}',
+ enabled=bld.env.with_pam_smbpass
)