build: list source of subsys LIBEVENTLOG directly in definition, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 06:44:17 +0000 (08:44 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:23:40 +0000 (20:23 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 89d4bb91147a7ad164932a019a4bcfba8b0519c4..d3b69a98f9b7a5fe789836768025687fa852b980 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-LIB_EVENTLOG_SRC = '''lib/eventlog/eventlog.c'''
-
 RPC_CLIENT_SCHANNEL_SRC = '''rpc_client/cli_pipe_schannel.c'''
 
 LOCKING_SRC = '''locking/locking.c locking/brlock.c locking/posix.c locking/share_mode_lock.c'''
@@ -861,9 +859,8 @@ bld.SAMBA3_SUBSYSTEM('LIBNET_SAMSYNC',
                     vars=locals())
 
 bld.SAMBA3_SUBSYSTEM('LIBEVENTLOG',
-                    source=LIB_EVENTLOG_SRC,
-                    deps='NDR_EVENTLOG tdb_compat',
-                    vars=locals())
+                    source='lib/eventlog/eventlog.c',
+                    deps='NDR_EVENTLOG tdb_compat')
 
 bld.SAMBA3_SUBSYSTEM('LIBNMB',
                      source='''libsmb/unexpected.c