summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 09:33:57 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:25:06 +0200
commit17a17783f998812e229844efc704ac8ee3b19ed6 (patch)
tree4829f97297f366e7a632f2e7a72b41a40a60dbb1
parent06ef203b2118b8b5fb77277ebcbed51ab6b61be0 (diff)
downloadsamba-17a17783f998812e229844efc704ac8ee3b19ed6.tar.gz
samba-17a17783f998812e229844efc704ac8ee3b19ed6.tar.bz2
samba-17a17783f998812e229844efc704ac8ee3b19ed6.zip
build: list source of binary smbget directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource3/wscript_build7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 87c92b1c25..3a06c6d0f4 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,8 +3,6 @@
from samba_utils import *
import samba_version, samba3
-SMBGET_SRC = '''utils/smbget.c'''
-
RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c
rpcclient/cmd_samr.c rpcclient/cmd_spoolss.c
rpcclient/cmd_netlogon.c rpcclient/cmd_srvsvc.c
@@ -1282,12 +1280,11 @@ bld.SAMBA3_BINARY('pdbedit',
PASSWD_UTIL''')
bld.SAMBA3_BINARY('smbget',
- source=SMBGET_SRC,
+ source='utils/smbget.c',
deps='''
talloc
popt_samba3
- smbclient''',
- vars=locals())
+ smbclient''')
bld.SAMBA3_BINARY('nmblookup',
source=NMBLOOKUP_SRC,