]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4-dns_server: Only build dns server Python code for AD DC
authorAlexander Bokovoy <ab@samba.org>
Fri, 20 Jul 2018 09:31:20 +0000 (12:31 +0300)
committerGünther Deschner <gd@samba.org>
Mon, 23 Jul 2018 14:24:10 +0000 (16:24 +0200)
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>
source4/dns_server/wscript_build

index c24f45584a432ead2656e5ee2bfd3f9f0479da35..c01e618b561369e5861aa97219ed5731e38919af 100644 (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())