s3:libsmb: let cli_session_setup_kerberos_recv() return a useful error code
[obnox/samba/samba-obnox.git] / nsswitch / wscript_build
index a94c02ca6f29b9134fd924f1e5cdc8a11e504789..8ceb9ad6f2b816c35fdbb6c5fdfeba89afc0463d 100644 (file)
@@ -6,15 +6,16 @@ host_os = sys.platform
 bld.SAMBA_LIBRARY('winbind-client',
        source='wb_common.c',
        deps='replace',
-       cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR,
+       cflags='-DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR,
        private_library=True
        )
 
 
 bld.SAMBA_BINARY('nsstest',
-       source='nsstest.c',
-       deps='replace dl'
-       )
+                source='nsstest.c',
+                deps='replace dl',
+                 install=False
+                )
 
 # The nss_wrapper code relies strictly on the linux implementation and
 # name, so compile but do not install a copy under this name.
@@ -41,7 +42,7 @@ elif (host_os.rfind('freebsd') > -1):
        bld.SAMBA_LIBRARY('nss_winbind',
                          source='winbind_nss_linux.c winbind_nss_freebsd.c',
                          deps='winbind-client',
-                         realname='libnss_winbind.so.1',
+                         realname='nss_winbind.so.1',
                          vnum='1')
 
 elif (host_os.rfind('netbsd') > -1):
@@ -75,12 +76,12 @@ elif (host_os.rfind('aix') > -1):
        bld.SAMBA_LIBRARY('nss_winbind',
                          source='winbind_nss_aix.c',
                          deps='winbind-client', 
-                         realname='libnss_winbind.so')
+                         realname='WINBIND')
 
 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 iniparser pam',
+               deps='talloc wbclient winbind-client tiniparser pam samba_intl',
                cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
                realname='pam_winbind.so',
                install_path='${PAMMODULESDIR}'