build: list source of subsys PASSWD_UTIL directly in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 07:24:28 +0000 (09:24 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:24:58 +0000 (20:24 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 3329f6a3cf864e37a9c92bd01e5564d3c0cdc36f..b981fef6ba945ee4c888ccc8cf8b98536eba522a 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-PASSWD_UTIL_SRC = 'utils/passwd_util.c'
-
 SMBPASSWD_SRC = '''utils/smbpasswd.c'''
 
 PDBEDIT_SRC = '''utils/pdbedit.c'''
@@ -820,9 +818,8 @@ bld.SAMBA3_SUBSYSTEM('PRINTING',
                     deps='NDR_PRINTCAP tdb_compat cups')
 
 bld.SAMBA3_SUBSYSTEM('PASSWD_UTIL',
-                    source=PASSWD_UTIL_SRC,
-                    deps='samba-util',
-                    vars=locals())
+                    source='utils/passwd_util.c',
+                    deps='samba-util')
 
 bld.SAMBA3_SUBSYSTEM('FNAME_UTIL',
                     source='lib/filename_util.c',