build: list source of binary sharesec() directly in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 07:58:30 +0000 (09:58 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:26:13 +0000 (20:26 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 39c4c2b2dd5d34548e937113bbcaaf47de10cf1c..90695d6124521bb08ca4727b44268534188e1891 100755 (executable)
@@ -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',