summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2018-08-13 15:39:08 -0700
committerAndreas Schneider <asn@cryptomilk.org>2018-09-07 17:26:14 +0200
commitb7464fd89bc22b71c82bbaa424bcbfcf947db651 (patch)
treeaa08e3107ae41fe5a71074ab54468588eb15f97e /source3/wscript_build
parentdff1028e8ba4c70e726283c12531853681034014 (diff)
downloadsamba-b7464fd89bc22b71c82bbaa424bcbfcf947db651.tar.gz
s3:lib: Move popt_common_credentials to separate file
This is only used by command line utilities and has additional dependencies. Move to a separate file to contain the dependencies to the command line tools. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index b532a3bec77..d96c03078e1 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -265,7 +265,12 @@ bld.SAMBA3_SUBSYSTEM('REG_FULL',
bld.SAMBA3_LIBRARY('popt_samba3',
source='lib/popt_common.c',
- deps='popt samba-util util_cmdline',
+ deps='popt samba-util smbconf',
+ private_library=True)
+
+bld.SAMBA3_LIBRARY('popt_samba3_cmdline',
+ source='lib/popt_common_cmdline.c',
+ deps='popt_samba3 util_cmdline',
private_library=True)
bld.SAMBA3_LIBRARY('util_cmdline',
@@ -1090,7 +1095,7 @@ bld.SAMBA3_BINARY('client/smbclient',
''',
deps='''
talloc
- popt_samba3
+ popt_samba3_cmdline
smbconf
ndr-standard
SMBREADLINE