summaryrefslogtreecommitdiff
path: root/nsswitch/wscript_build
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-05-08 21:50:34 +0200
committerKai Blin <kai@samba.org>2011-05-08 23:56:33 +0200
commit05d00ed479e99dea28aead113a3de33546b44526 (patch)
treefa9fd06e7aed10869b7d803dbce969035b5e251c /nsswitch/wscript_build
parentecc030e2898f4f7be195111a24c5a76505ea0543 (diff)
downloadsamba-05d00ed479e99dea28aead113a3de33546b44526.tar.gz
nsswitch: Fix build check logic
Only build pam_winbind.so if we want pam modules _and_ have the libs Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun May 8 23:56:33 CEST 2011 on sn-devel-104
Diffstat (limited to 'nsswitch/wscript_build')
-rw-r--r--nsswitch/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 83b10a7969f..47f6fbcc23c 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -21,7 +21,7 @@ bld.SAMBA_LIBRARY('nss_winbind',
vnum='2')
-if bld.CONFIG_SET('WITH_PAM_MODULES') or bld.CONFIG_SET('HAVE_PAM_START'):
+if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
bld.SAMBA_LIBRARY('pamwinbind',
source='pam_winbind.c',
deps='intl talloc wbclient winbind-client LIBINIPARSER pam',