From 2fc342c20ab455a5961b1b2b507aa7b62ecabf1f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 12 May 2011 20:12:07 +0200 Subject: waf-build: Add more libraries to avoid duplicate symbols The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett --- source3/wscript_build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/wscript_build b/source3/wscript_build index 21e49ddd7c..fe02dfcd0c 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -797,10 +797,11 @@ bld.SAMBA3_SUBSYSTEM('LIBNTLMSSP', deps='LIBSMB_ERR NDR_NTLMSSP NTLMSSP_COMMON', vars=locals()) -bld.SAMBA3_SUBSYSTEM('LIBSMB', - source=LIBSMB_SRC, - deps='LIBNTLMSSP CLDAP LIBNMB LIBNBT LIBDRSUAPI SPNEGO_PARSE LIBTSOCKET KRBCLIENT LIBCLI_SMB_COMMON', - vars=locals()) +bld.SAMBA3_LIBRARY('LIBSMB', + source=LIBSMB_SRC, + deps='LIBNTLMSSP CLDAP LIBNMB LIBNBT LIBDRSUAPI SPNEGO_PARSE LIBTSOCKET KRBCLIENT LIBCLI_SMB_COMMON', + vars=locals(), + private_library=True) bld.SAMBA3_SUBSYSTEM('LIBDRSUAPI', source=DRSUAPI_SRC, -- cgit