summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-12 20:12:07 +0200
committerAndrew Bartlett <abartlet@samba.org>2011-05-18 16:12:07 +0200
commit2fc342c20ab455a5961b1b2b507aa7b62ecabf1f (patch)
treed0600e50491b1827481fb5cf30c7dbe5a0b6842f /source4/libcli
parentd13fb8ddd0613f8704b2657e85ccb559706b3e13 (diff)
downloadsamba-2fc342c20ab455a5961b1b2b507aa7b62ecabf1f.tar.gz
samba-2fc342c20ab455a5961b1b2b507aa7b62ecabf1f.tar.bz2
samba-2fc342c20ab455a5961b1b2b507aa7b62ecabf1f.zip
waf-build: Add more libraries to avoid duplicate symbols
The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/wscript_build5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/libcli/wscript_build b/source4/libcli/wscript_build
index 46bca5aa0b..3d36925195 100644
--- a/source4/libcli/wscript_build
+++ b/source4/libcli/wscript_build
@@ -83,11 +83,12 @@ bld.SAMBA_SUBSYSTEM('LIBCLI_SMB',
)
-bld.SAMBA_SUBSYSTEM('LIBCLI_RAW',
+bld.SAMBA_LIBRARY('LIBCLI_RAW',
source='raw/rawfile.c raw/smb_signing.c raw/clisocket.c raw/clitransport.c raw/clisession.c raw/clitree.c raw/clierror.c raw/rawrequest.c raw/rawreadwrite.c raw/rawsearch.c raw/rawsetfileinfo.c raw/raweas.c raw/rawtrans.c raw/clioplock.c raw/rawnegotiate.c raw/rawfsinfo.c raw/rawfileinfo.c raw/rawnotify.c raw/rawioctl.c raw/rawacl.c raw/rawdate.c raw/rawlpq.c raw/rawshadow.c',
autoproto='raw/raw_proto.h',
public_deps='samba_socket LIBPACKET LIBCRYPTO',
- deps='LIBCLI_COMPOSITE LIBCLI_RESOLVE security ndr samba-util errors CHARSET talloc LIBCLI_SMB_COMPOSITE tevent NDR_NBT_BUF LIBCLI_SMB_COMMON'
+ deps='LIBCLI_COMPOSITE LIBCLI_RESOLVE security ndr samba-util errors CHARSET talloc LIBCLI_SMB_COMPOSITE tevent NDR_NBT_BUF LIBCLI_SMB_COMMON',
+ private_library=True
)
bld.RECURSE('smb2')