summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-01-23 18:56:04 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-01-25 11:58:28 +0100
commit2d667bac3ffd80b3cdc4ae0e514c1cc7cf009f99 (patch)
treee8f2819a10ad19e2cff505bf5519888a1442e55a
parent17000133f81c731aa28f493b5623294b0685bb0c (diff)
downloadsamba-2d667bac3ffd80b3cdc4ae0e514c1cc7cf009f99.tar.gz
samba-2d667bac3ffd80b3cdc4ae0e514c1cc7cf009f99.tar.bz2
samba-2d667bac3ffd80b3cdc4ae0e514c1cc7cf009f99.zip
s3-waf: Link rpcclient only against needed subsystems.
-rwxr-xr-xsource3/wscript_build32
1 files changed, 25 insertions, 7 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index dd578fabc9..3bb7a10498 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1281,13 +1281,31 @@ bld.SAMBA3_BINARY('web/swat',
bld.SAMBA3_BINARY('rpcclient/rpcclient',
source=RPCCLIENT_SRC,
- deps='''talloc tdb_compat cap popt_samba3 pdb libsmb smbd_shim
- param wbclient param KRBCLIENT ndr-standard msrpc3
- SMBREADLINE trusts_util RPC_NDR_WINREG RPC_NDR_ECHO
- RPC_CLIENT_SCHANNEL DCUTIL
- LIBCLI_SAMR libcli_lsa3 libcli_netlogon3 cli_spoolss
- RPC_NDR_SRVSVC RPC_NDR_WKSSVC RPC_NDR_DSSETUP RPC_NDR_DFS
- RPC_NDR_DRSUAPI RPC_NDR_NTSVCS RPC_NDR_EVENTLOG
+ deps='''
+ talloc
+ popt_samba3
+ pdb
+ libsmb
+ param
+ ndr-standard
+ msrpc3
+ SMBREADLINE
+ trusts_util
+ RPC_NDR_WINREG
+ RPC_NDR_ECHO
+ RPC_CLIENT_SCHANNEL
+ DCUTIL
+ LIBCLI_SAMR
+ libcli_lsa3
+ libcli_netlogon3
+ cli_spoolss
+ RPC_NDR_SRVSVC
+ RPC_NDR_WKSSVC
+ RPC_NDR_DSSETUP
+ RPC_NDR_DFS
+ RPC_NDR_DRSUAPI
+ RPC_NDR_NTSVCS
+ RPC_NDR_EVENTLOG
INIT_SAMR
''',
vars=locals())