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

index 3fb2d1553c64f7eb65255e581fbd982a19663f43..b0576d56dbd7d8b51440b8c65066dc40abfde7e6 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-SLCACHE_SRC = '''libsmb/samlogon_cache.c'''
-
 DCUTIL_SRC  = '''libsmb/namequery_dc.c libsmb/trustdom_cache.c libsmb/dsgetdcname.c'''
 
 SMBD_SRC_MAIN = '''smbd/server.c'''
@@ -910,9 +908,8 @@ bld.SAMBA3_SUBSYSTEM('SAMBA_VERSION',
                     deps='samba-util')
 
 bld.SAMBA3_SUBSYSTEM('SLCACHE',
-                    source=SLCACHE_SRC,
-                    deps='samba-util tdb_compat',
-                    vars=locals())
+                    source='libsmb/samlogon_cache.c',
+                    deps='samba-util tdb_compat')
 
 bld.SAMBA3_SUBSYSTEM('DCUTIL',
                     source=DCUTIL_SRC,