diff options
author | Andreas Schneider <asn@samba.org> | 2017-04-10 07:50:41 +0200 |
---|---|---|
committer | Uri Simchoni <uri@samba.org> | 2017-04-12 12:54:24 +0200 |
commit | 63698da6e26965a539b623064ff34d4cb177f2ff (patch) | |
tree | f45cb9a54ece42ff0da9b3c9bf50859d3d0c784c /wscript | |
parent | 2fa9346333bab34a5bf1ad1ec26da2d9b6a291dd (diff) | |
download | samba-63698da6e26965a539b623064ff34d4cb177f2ff.tar.gz |
waf: Only build pam_wrapper if we build with pam
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -179,10 +179,11 @@ def configure(conf): conf.RECURSE('selftest') if conf.CONFIG_GET('ENABLE_SELFTEST'): conf.RECURSE('lib/nss_wrapper') - conf.RECURSE('lib/pam_wrapper') conf.RECURSE('lib/resolv_wrapper') conf.RECURSE('lib/socket_wrapper') conf.RECURSE('lib/uid_wrapper') + if Options.options.with_pam: + conf.RECURSE('lib/pam_wrapper') if Options.options.with_ntvfs_fileserver != False: if not (Options.options.without_ad_dc or Options.options.with_system_mitkrb5): conf.DEFINE('WITH_NTVFS_FILESERVER', 1) |