summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',