From 2d5d0c2b8cef3ae3a55365a8fbbad5d7c87b09ea Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 23 Sep 2013 08:05:50 +0200 Subject: build: list sources of lib secrets3 directly in def, removing vars=locals() Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett --- source3/wscript_build | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source3/wscript_build') diff --git a/source3/wscript_build b/source3/wscript_build index 26538cb4b9..ba0917cbf8 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -3,9 +3,6 @@ from samba_utils import * import samba_version, samba3 -SECRETS_SRC = '''passdb/secrets.c passdb/machine_account_secrets.c - passdb/machine_sid.c passdb/secrets_lsa.c''' - LIBNMB_SRC = '''libsmb/unexpected.c libsmb/namecache.c libsmb/nmblib.c libsmb/namequery.c libsmb/conncache.c @@ -724,10 +721,12 @@ bld.SAMBA3_SUBSYSTEM('CLDAP', # PLEASE DO NOT make it depend on high level libraries like PDB, if you are # doing that your design is wrong and needs changing. -SSS bld.SAMBA3_LIBRARY('secrets3', - source=SECRETS_SRC, + source='''passdb/secrets.c + passdb/machine_account_secrets.c + passdb/machine_sid.c + passdb/secrets_lsa.c''', deps='NDR_SECRETS param samba3util dbwrap', - private_library=True, - vars=locals()) + private_library=True) bld.SAMBA3_LIBRARY('smbldap', source='lib/smbldap.c', -- cgit