summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2017-01-27 21:31:21 -0500
committerAndrew Bartlett <abartlet@samba.org>2017-03-10 07:31:13 +0100
commitfa829986dea06a578b891133f96e9b6b02d81088 (patch)
tree28c4e19b5db5204a68a784e36040fb18c951c668 /source4/libnet
parent7eeda992ac65cc5cc9d87378343fcdd5b8a50a16 (diff)
downloadsamba-fa829986dea06a578b891133f96e9b6b02d81088.tar.gz
waf: disable-python - don't build samba-net
samba-net requires PROVISION, which is disabled when python isn't available. Signed-off-by: Ian Stakenvicius <axs@gentoo.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/wscript_build b/source4/libnet/wscript_build
index db113b2f71e..e192eb59404 100644
--- a/source4/libnet/wscript_build
+++ b/source4/libnet/wscript_build
@@ -4,7 +4,8 @@ bld.SAMBA_LIBRARY('samba-net',
source='libnet.c libnet_passwd.c libnet_time.c libnet_rpc.c libnet_join.c libnet_site.c libnet_become_dc.c libnet_unbecome_dc.c libnet_vampire.c libnet_samdump.c libnet_samsync_ldb.c libnet_user.c libnet_group.c libnet_share.c libnet_lookup.c libnet_domain.c userinfo.c groupinfo.c userman.c groupman.c prereq_domain.c libnet_samsync.c',
autoproto='libnet_proto.h',
public_deps='samba-credentials dcerpc dcerpc-samr RPC_NDR_LSA RPC_NDR_SRVSVC RPC_NDR_DRSUAPI cli_composite LIBCLI_RESOLVE LIBCLI_FINDDCS cli_cldap LIBCLI_FINDDCS gensec_schannel LIBCLI_AUTH ndr smbpasswdparser PROVISION LIBCLI_SAMSYNC LIBTSOCKET',
- private_library=True
+ private_library=True,
+ enabled=bld.PYTHON_BUILD_IS_ENABLED()
)