From: Alexander Bokovoy Date: Fri, 20 Jul 2018 09:31:20 +0000 (+0300) Subject: s4-dns_server: Only build dns server Python code for AD DC X-Git-Tag: ldb-1.5.0~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2114768a8e64647e4f429e0b4e464e0cfc056feb;p=thirdparty%2Fsamba.git s4-dns_server: Only build dns server Python code for AD DC BUG: https://bugzilla.samba.org/show_bug.cgi?id=13542 Signed-off-by: Alexander Bokovoy Reviewed-by: Jeremy Allison Reviewed-by: Guenther Deschner --- diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build index c24f45584a4..c01e618b561 100644 --- a/source4/dns_server/wscript_build +++ b/source4/dns_server/wscript_build @@ -71,6 +71,8 @@ for env in bld.gen_python_environments(): pytalloc_util = bld.pyembed_libname('pytalloc-util') bld.SAMBA_PYTHON('python_dsdb_dns', - source='pydns.c', - deps='samdb %s %s dnsserver_common %s' % (pyldb_util, pyrpc_util, pytalloc_util), - realname='samba/dsdb_dns.so') + source='pydns.c', + deps='samdb %s %s dnsserver_common %s' % ( + pyldb_util, pyrpc_util, pytalloc_util), + realname='samba/dsdb_dns.so', + enabled=bld.AD_DC_BUILD_IS_ENABLED())