build: list source of subsys RPC_CLIENT_SCHANNEL direclty in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 06:45:21 +0000 (08:45 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:23:43 +0000 (20:23 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index d3b69a98f9b7a5fe789836768025687fa852b980..c6d453c2e17b66985c6082a5e67ed46fbb6271e5 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-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'''
 
 PRIVILEGES_SRC = '''lib/privileges.c'''
@@ -966,9 +964,8 @@ bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG_INTERNAL',
                     deps='LIBCLI_WINREG RPC_NCACN_NP')
 
 bld.SAMBA3_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
-                    source=RPC_CLIENT_SCHANNEL_SRC,
-                    deps='samba-util krb5samba',
-                    vars=locals())
+                    source='rpc_client/cli_pipe_schannel.c',
+                    deps='samba-util krb5samba')
 
 bld.SAMBA3_SUBSYSTEM('INIT_LSA',
                     source='rpc_client/init_lsa.c',