summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 09:11:10 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:24:18 +0200
commitbb1f91d059803e1f34672452db9c2de99626d868 (patch)
treeae7013b38193ae7298eab2c57a2ce29ed0ab5787
parentd68fe337dc10c626c5ab48d6b2cdcf2aff9d06fa (diff)
downloadsamba-bb1f91d059803e1f34672452db9c2de99626d868.tar.gz
samba-bb1f91d059803e1f34672452db9c2de99626d868.tar.bz2
samba-bb1f91d059803e1f34672452db9c2de99626d868.zip
build: list sources of subsys DCUTIL 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_build9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index b0576d56db..a39a11dd5f 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,8 +3,6 @@
from samba_utils import *
import samba_version, samba3
-DCUTIL_SRC = '''libsmb/namequery_dc.c libsmb/trustdom_cache.c libsmb/dsgetdcname.c'''
-
SMBD_SRC_MAIN = '''smbd/server.c'''
@@ -912,9 +910,10 @@ bld.SAMBA3_SUBSYSTEM('SLCACHE',
deps='samba-util tdb_compat')
bld.SAMBA3_SUBSYSTEM('DCUTIL',
- source=DCUTIL_SRC,
- deps='ads msrpc3 libcli_lsa3',
- vars=locals())
+ source='''libsmb/namequery_dc.c
+ libsmb/trustdom_cache.c
+ libsmb/dsgetdcname.c''',
+ deps='ads msrpc3 libcli_lsa3')
bld.SAMBA3_LIBRARY('trusts_util',
source='libsmb/trusts_util.c',