]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
build: Make util_tsock its own subsystem
authorVolker Lendecke <vl@samba.org>
Mon, 28 Oct 2024 09:40:26 +0000 (10:40 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 11 Nov 2024 14:03:03 +0000 (14:03 +0000)
One step to strip TLDAP deps

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/wscript_build

index a28db0016734805a5ec67337dd207d2ad70fbb1a..7ed2c81b5da1b7fa2472ae26887b52f0101e16d6 100644 (file)
@@ -283,6 +283,10 @@ bld.SAMBA3_SUBSYSTEM('KRBCLIENT',
                      source='libads/kerberos.c libads/ads_status.c',
                      public_deps='krb5samba asn1util k5crypto gssapi LIBTSOCKET CLDAP LIBNMB')
 
+bld.SAMBA3_SUBSYSTEM('util_tsock',
+                     source='lib/util_tsock.c',
+                     deps='tevent-util LIBTSOCKET')
+
 bld.SAMBA3_SUBSYSTEM('samba3util',
                    source='''
                           lib/system.c
@@ -297,7 +301,6 @@ bld.SAMBA3_SUBSYSTEM('samba3util',
                           lib/util_matching.c
                           lib/util_procid.c
                           lib/util_sock.c
-                          lib/util_tsock.c
                           lib/util_transfer_file.c
                           lib/util_macstreams.c
                           ''',
@@ -305,6 +308,7 @@ bld.SAMBA3_SUBSYSTEM('samba3util',
                         CHARSET3
                         ndr
                         LIBTSOCKET
+                        util_tsock
                         samba-security
                         NDR_SECURITY
                         samba-util