tstream: make npa_tstream a private library
authorAndrew Tridgell <tridge@samba.org>
Wed, 6 Apr 2011 04:29:34 +0000 (14:29 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 6 Apr 2011 06:12:19 +0000 (08:12 +0200)
this prevents symbol duplication of the npa_tstream symbols

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

libcli/named_pipe_auth/wscript_build
source3/wscript_build
source4/ntvfs/wscript_build
source4/smbd/wscript_build

index c97893b..53fbd84 100644 (file)
@@ -1,8 +1,9 @@
 #!/usr/bin/env python
 
 
-bld.SAMBA_SUBSYSTEM('NAMED_PIPE_AUTH_TSTREAM',
-       source='npa_tstream.c',
-       public_deps='NDR_NAMED_PIPE_AUTH tevent LIBTSOCKET'
-       )
+bld.SAMBA_LIBRARY('npa_tstream',
+                  source='npa_tstream.c',
+                  private_library=True,
+                  public_deps='NDR_NAMED_PIPE_AUTH tevent LIBTSOCKET'
+                  )
 
index 8685268..b709b5f 100755 (executable)
@@ -860,7 +860,7 @@ bld.SAMBA3_LIBRARY('smbd_base',
                     PRINTING PRINTBACKEND NDR_XATTR NDR_NOTIFY3 REGFIO
                     LIB_SMBCONF REG_FULL FNAME_UTIL
                     LIBCLI_SAMR LIBCLI_LSA3 LIBRPCCLI_NETLOGON LIBCLI_SPOOLSS
-                    RPC_NDR_SRVSVC NAMED_PIPE_AUTH_TSTREAM INIT_NETLOGON INIT_SAMR
+                    RPC_NDR_SRVSVC npa_tstream INIT_NETLOGON INIT_SAMR
                     LIBCLI_SMB_COMMON RPC_SERVER
                     ''',
                     private_library=True,
@@ -1030,7 +1030,7 @@ bld.SAMBA3_BINARY('winbindd/winbindd',
                  LIBAFS_SETTOKEN PROFILE SLCACHE DCUTIL idmap nss_info
                  TOKEN_UTIL
                  LIBCLI_SAMR LIBCLI_LSA3 LIBRPCCLI_NETLOGON
-                 RPC_NDR_DSSETUP NAMED_PIPE_AUTH_TSTREAM INIT_NETLOGON
+                 RPC_NDR_DSSETUP npa_tstream INIT_NETLOGON
                  RPC_NCACN_NP RPC_PIPE_REGISTER RPC_SAMR RPC_LSARPC
                  PAM_ERRORS WB_REQTRANS AUTH_COMMON
                  ''',
index d020465..43a6cd6 100644 (file)
@@ -52,7 +52,7 @@ bld.SAMBA_MODULE('ntvfs_ipc',
        autoproto='ipc/proto.h',
        subsystem='ntvfs',
        init_function='ntvfs_ipc_init',
-       deps='NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi credentials DCERPC_SHARE'
+       deps='NDR_NAMED_PIPE_AUTH npa_tstream gssapi credentials DCERPC_SHARE'
        )
 
 
index 9d66889..082ab6d 100644 (file)
@@ -3,7 +3,7 @@
 bld.SAMBA_LIBRARY('service',
        source='service.c service_stream.c service_named_pipe.c service_task.c',
        autoproto='service_proto.h',
-       deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
+       deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH npa_tstream gssapi credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
        private_library=True
        )