From 743b13b8e0bb1a79219d4cd89a4c3e3f75344d2c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 17 Feb 2011 00:11:18 +0100 Subject: s3-waf: make most of the nsswitch common. Guenther --- nsswitch/wscript_build | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'nsswitch/wscript_build') diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build index 691f82f160..a81b01bcbd 100644 --- a/nsswitch/wscript_build +++ b/nsswitch/wscript_build @@ -15,15 +15,22 @@ bld.SAMBA_BINARY('nsstest', bld.SAMBA_LIBRARY('nss_winbind', - source='../nsswitch/winbind_nss_linux.c', + source='winbind_nss_linux.c', deps='winbind-client', realname='libnss_winbind.so.2', vnum='2') -if bld.CONFIG_SET('HAVE_PAM_START'): + +if bld.CONFIG_SET('WITH_PAM_MODULES') or bld.CONFIG_SET('HAVE_PAM_START'): bld.SAMBA_LIBRARY('pamwinbind', - source='../nsswitch/pam_winbind.c', + source='pam_winbind.c', deps='intl talloc wbclient winbind-client LIBINIPARSER pam', cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR, realname='pam_winbind.so', ) + +if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'): + bld.SAMBA_LIBRARY('winbind_krb5_locator', + source='winbind_krb5_locator.c', + deps='wbclient krb5', + realname='winbind_krb5_locator.so') -- cgit