summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 07:54:19 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:22:40 +0200
commit18cca297ac6a3a68dda81fb29d34054a6cc4cd76 (patch)
tree9772b4ac7f297cee5015e475ac7dde1ea46a9933
parent2b4d1affe8e507b1da996ac8a8663db71bd84f24 (diff)
downloadsamba-18cca297ac6a3a68dda81fb29d34054a6cc4cd76.tar.gz
samba-18cca297ac6a3a68dda81fb29d34054a6cc4cd76.tar.bz2
samba-18cca297ac6a3a68dda81fb29d34054a6cc4cd76.zip
build: list source of library popt_samba3 directly in definition and rm vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource3/wscript_build5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index ef9081cd70..77a42aaff2 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,8 +3,6 @@
from samba_utils import *
import samba_version, samba3
-POPT_LIB_SRC = '''lib/popt_common.c'''
-
PARAM_UTIL_SRC = '''param/util.c'''
PARAM_WITHOUT_REG_SRC = '''param/loadparm.c
@@ -617,9 +615,8 @@ bld.SAMBA3_SUBSYSTEM('REG_FULL',
vars=locals())
bld.SAMBA3_LIBRARY('popt_samba3',
- source=POPT_LIB_SRC,
+ source='lib/popt_common.c',
deps='popt samba-util util_cmdline',
- vars=locals(),
private_library=True)
bld.SAMBA3_LIBRARY('util_cmdline',