]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/smb: merge smb_transport library into cli_smb_common
authorStefan Metzmacher <metze@samba.org>
Wed, 7 May 2025 19:35:24 +0000 (21:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 18 Jun 2025 17:52:37 +0000 (17:52 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
libcli/smb/wscript

index 984928424db8dd19c31b40f3d747ab39b567e6ff..86f14680741c7452a64065f1840c797a969b23a4 100644 (file)
@@ -2,20 +2,9 @@
 
 
 def build(bld):
-    bld.SAMBA_LIBRARY('smb_transport',
-        source='''
-            read_smb.c
-        ''',
-        deps='LIBASYNC_REQ',
-        public_deps='talloc tevent',
-        private_library=True,
-        private_headers='''
-            read_smb.h
-        ''',
-        )
-
     bld.SAMBA_LIBRARY('cli_smb_common',
     source='''
+           read_smb.c
            smb_signing.c
            smb_seal.c
            smb2_negotiate_context.c
@@ -49,11 +38,12 @@ def build(bld):
     ''',
     deps='''
         LIBCRYPTO gnutls NDR_SMB2_LEASE_STRUCT samba-errors gensec krb5samba
-        smb_transport GNUTLS_HELPERS NDR_IOCTL
+        LIBASYNC_REQ GNUTLS_HELPERS NDR_IOCTL
     ''',
-    public_deps='talloc samba-util iov_buf',
+    public_deps='talloc tevent samba-util iov_buf',
     private_library=True,
     private_headers='''
+                    read_smb.h
                     smb_common.h
                     smb2_constants.h
                     smb_constants.h