summaryrefslogtreecommitdiff
path: root/lib/ldb-samba
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 /lib/ldb-samba
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 'lib/ldb-samba')
-rw-r--r--lib/ldb-samba/wscript_build13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/ldb-samba/wscript_build b/lib/ldb-samba/wscript_build
index 396a3816c21..3264757e8b7 100644
--- a/lib/ldb-samba/wscript_build
+++ b/lib/ldb-samba/wscript_build
@@ -18,13 +18,12 @@ bld.SAMBA_SUBSYSTEM('ldbwrap',
deps='ldb samba-util ldbsamba samba-hostconfig'
)
-for env in bld.gen_python_environments():
- pyparam_util = bld.pyembed_libname('pyparam_util')
- pyldb_util = bld.pyembed_libname('pyldb-util')
- pyauth = 'pyauth'
- bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
- deps='ldbsamba %s ldbwrap %s %s' % (pyparam_util, pyldb_util, pyauth),
- realname='samba/_ldb.so')
+pyparam_util = bld.pyembed_libname('pyparam_util')
+pyldb_util = bld.pyembed_libname('pyldb-util')
+pyauth = 'pyauth'
+bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
+ deps='ldbsamba %s ldbwrap %s %s' % (pyparam_util, pyldb_util, pyauth),
+ realname='samba/_ldb.so')
bld.SAMBA_MODULE('ldbsamba_extensions',
source='samba_extensions.c',