LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 25 Mar 2012 15:15:42 +0000 (17:15 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 25 Mar 2012 15:15:42 +0000 (17:15 +0200)
The latter pulls in a fair number of other libraries, including popt and the Samba registry library.

source4/libcli/smb2/wscript_build

index 2af1a02cbc9de57341677da286ecaa55516fe711..4ade9780bb01dd9227c4a69ee8d17c408fd9f335 100644 (file)
@@ -3,7 +3,7 @@
 bld.SAMBA_SUBSYSTEM('LIBCLI_SMB2',
        source='transport.c request.c session.c tcon.c create.c close.c connect.c getinfo.c write.c read.c setinfo.c find.c ioctl.c logoff.c tdis.c flush.c lock.c notify.c cancel.c keepalive.c break.c util.c signing.c lease_break.c',
        autoproto='smb2_proto.h',
-       deps='tevent-util libsmb',
+       deps='tevent-util cli_smb_common',
        public_deps='smbclient-raw LIBPACKET gensec tevent',
        public_headers='smb2.h',
        )