summaryrefslogtreecommitdiff
path: root/wscript_build
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-04-10 07:50:41 +0200
committerUri Simchoni <uri@samba.org>2017-04-12 12:54:24 +0200
commit63698da6e26965a539b623064ff34d4cb177f2ff (patch)
treef45cb9a54ece42ff0da9b3c9bf50859d3d0c784c /wscript_build
parent2fa9346333bab34a5bf1ad1ec26da2d9b6a291dd (diff)
downloadsamba-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_build')
-rw-r--r--wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript_build b/wscript_build
index 59e0bdfa4cc..2ddcdcc8557 100644
--- a/wscript_build
+++ b/wscript_build
@@ -69,7 +69,7 @@ bld.RECURSE('source4/lib/cmdline')
bld.RECURSE('source4/lib/http')
if bld.CONFIG_GET('NSS_WRAPPER'):
bld.RECURSE('lib/nss_wrapper')
-if bld.CONFIG_GET('PAM_WRAPPER'):
+if bld.CONFIG_GET('PAM_WRAPPER') and Options.options.with_pam:
bld.RECURSE('lib/pam_wrapper')
if bld.CONFIG_GET('SOCKET_WRAPPER'):
bld.RECURSE('lib/socket_wrapper')