From db162564f759233b36219402a13232280b80f7d7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 23 Sep 2013 02:15:16 +0200 Subject: build: list sources directly in definition of SAMBA_VERSION, and remove vars=locals() Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett --- source3/wscript_build | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source3/wscript_build') 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, -- cgit