summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 08:24:04 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:23:07 +0200
commit2f055074e6b1819b76c0bbffa6f145a5adaf1260 (patch)
tree7934f7d0d3ac401a6fbe41f4f21f870cd0d85302
parent2d5d0c2b8cef3ae3a55365a8fbbad5d7c87b09ea (diff)
downloadsamba-2f055074e6b1819b76c0bbffa6f145a5adaf1260.tar.gz
samba-2f055074e6b1819b76c0bbffa6f145a5adaf1260.tar.bz2
samba-2f055074e6b1819b76c0bbffa6f145a5adaf1260.zip
build: list sources of subsys LIBNMB 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_build15
1 files changed, 7 insertions, 8 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index ba0917cbf8..4fa1afb326 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,11 +3,6 @@
from samba_utils import *
import samba_version, samba3
-LIBNMB_SRC = '''libsmb/unexpected.c libsmb/namecache.c libsmb/nmblib.c
- libsmb/namequery.c libsmb/conncache.c
-
- libads/sitename_cache.c'''
-
LIBNTLMSSP_SRC = '''
libsmb/ntlmssp.c
libsmb/ntlmssp_wrap.c'''
@@ -902,9 +897,13 @@ bld.SAMBA3_SUBSYSTEM('LIBEVENTLOG',
vars=locals())
bld.SAMBA3_SUBSYSTEM('LIBNMB',
- source=LIBNMB_SRC,
- deps='addns lmhosts resolv',
- vars=locals())
+ source='''libsmb/unexpected.c
+ libsmb/namecache.c
+ libsmb/nmblib.c
+ libsmb/namequery.c
+ libsmb/conncache.c
+ libads/sitename_cache.c''',
+ deps='addns lmhosts resolv')
bld.SAMBA3_SUBSYSTEM('SERVICES',
source=SERVICES_SRC,