summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 02:15:16 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:21:40 +0200
commitdb162564f759233b36219402a13232280b80f7d7 (patch)
tree8575d04526f69cf3313585c2b5a4f957dd9d50aa /source3
parentf801de7d076c3d8f30862f139906c0a48889d359 (diff)
downloadsamba-db162564f759233b36219402a13232280b80f7d7.tar.gz
samba-db162564f759233b36219402a13232280b80f7d7.tar.bz2
samba-db162564f759233b36219402a13232280b80f7d7.zip
build: list sources directly in definition of SAMBA_VERSION, and remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/wscript_build7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index a5e286840c..f5b2965f1d 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -11,8 +11,6 @@ TDB_LIB_SRC = '''
TDB_VALIDATE_SRC = '''lib/tdb_validate.c'''
-VERSION_SRC = '''lib/version.c'''
-
AFS_SRC = 'lib/afs.c'
AFS_SETTOKEN_SRC = 'lib/afs_settoken.c'
@@ -1054,9 +1052,8 @@ bld.SAMBA3_SUBSYSTEM('PASSCHANGE',
vars=locals())
bld.SAMBA3_SUBSYSTEM('SAMBA_VERSION',
- source=VERSION_SRC,
- deps='samba-util',
- vars=locals())
+ source='lib/version.c',
+ deps='samba-util')
bld.SAMBA3_SUBSYSTEM('SLCACHE',
source=SLCACHE_SRC,