1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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 <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
Alexander Bokovoy 2018-07-20 12:31:20 +03:00 committed by Günther Deschner
parent 582ce5d6b5
commit 2114768a8e

View File

@ -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())