summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 09:58:30 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:26:13 +0200
commit7059e00920036216513329f0bae6e7b32ba18767 (patch)
treea0df92dd3e997f81110ce6887fb6f01956462024
parent351bf39de49ddf88a15b4b9b91e24d110c69f84d (diff)
downloadsamba-7059e00920036216513329f0bae6e7b32ba18767.tar.gz
samba-7059e00920036216513329f0bae6e7b32ba18767.tar.bz2
samba-7059e00920036216513329f0bae6e7b32ba18767.zip
build: list source of binary sharesec() directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource3/wscript_build8
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 39c4c2b2dd..90695d6124 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,9 +3,6 @@
from samba_utils import *
import samba_version, samba3
-SHARESEC_SRC0 = 'utils/sharesec.c'
-SHARESEC_SRC = '''${SHARESEC_SRC0}'''
-
DEBUG2HTML_SRC = '''utils/debug2html.c utils/debugparse.c'''
SMBFILTER_SRC = '''utils/smbfilter.c'''
@@ -1328,11 +1325,10 @@ bld.SAMBA3_BINARY('eventlogadm',
LIBEVENTLOG''')
bld.SAMBA3_BINARY('sharesec',
- source=SHARESEC_SRC,
+ source='utils/sharesec.c',
deps='''
talloc
- popt_samba3''',
- vars=locals())
+ popt_samba3''')
bld.SAMBA3_BINARY('pdbtest',
source='torture/pdbtest.c',