diff options
author | Kai Blin <kai@samba.org> | 2011-05-08 21:50:34 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2011-05-08 23:56:33 +0200 |
commit | 05d00ed479e99dea28aead113a3de33546b44526 (patch) | |
tree | fa9fd06e7aed10869b7d803dbce969035b5e251c /nsswitch/wscript_build | |
parent | ecc030e2898f4f7be195111a24c5a76505ea0543 (diff) | |
download | samba-05d00ed479e99dea28aead113a3de33546b44526.tar.gz samba-05d00ed479e99dea28aead113a3de33546b44526.tar.bz2 samba-05d00ed479e99dea28aead113a3de33546b44526.zip |
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_build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build index 83b10a7969..47f6fbcc23 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', |