summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 08:05:50 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:23:05 +0200
commit2d5d0c2b8cef3ae3a55365a8fbbad5d7c87b09ea (patch)
tree273a450ae76e692b38e29edaec3c25f6edc639f6
parentce4063ee7c0345509479acafe70681a80900b1da (diff)
downloadsamba-2d5d0c2b8cef3ae3a55365a8fbbad5d7c87b09ea.tar.gz
samba-2d5d0c2b8cef3ae3a55365a8fbbad5d7c87b09ea.tar.bz2
samba-2d5d0c2b8cef3ae3a55365a8fbbad5d7c87b09ea.zip
build: list sources of lib secrets3 directly in def, removing vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource3/wscript_build11
1 files changed, 5 insertions, 6 deletions
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',