summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-02-15 16:37:48 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-03-21 04:06:14 +0000
commitfdb6305c861a088f797d29889c51c0553cc048be (patch)
tree344ffc65c4bb6614f357bccda5456fdfd835baeb /source4/dns_server
parent270d04e4ea0e3a7f4443557f5ff65e6f9e426295 (diff)
downloadsamba-fdb6305c861a088f797d29889c51c0553cc048be.tar.gz
build: Remove bld.gen_python_environments()
This was part of --extra-python support. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/wscript_build19
1 files changed, 9 insertions, 10 deletions
diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build
index 0fd6aa80339..8a8466d096f 100644
--- a/source4/dns_server/wscript_build
+++ b/source4/dns_server/wscript_build
@@ -75,14 +75,13 @@ bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
enabled=bld.AD_DC_BUILD_IS_ENABLED())
-for env in bld.gen_python_environments():
- pyldb_util = bld.pyembed_libname('pyldb-util')
- pyrpc_util = bld.pyembed_libname('pyrpc_util')
- pytalloc_util = bld.pyembed_libname('pytalloc-util')
+pyldb_util = bld.pyembed_libname('pyldb-util')
+pyrpc_util = bld.pyembed_libname('pyrpc_util')
+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',
- enabled=bld.AD_DC_BUILD_IS_ENABLED())
+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',
+ enabled=bld.AD_DC_BUILD_IS_ENABLED())