summaryrefslogtreecommitdiff
path: root/lib/tevent
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/tevent
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/tevent')
-rw-r--r--lib/tevent/wscript13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index ce6e12f4792..a9288add0a3 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -114,15 +114,14 @@ def build(bld):
private_library=private_library)
if not bld.CONFIG_SET('USING_SYSTEM_PYTEVENT') and not bld.env.disable_python:
- for env in bld.gen_python_environments(['PKGCONFIGDIR']):
- bld.SAMBA_PYTHON('_tevent',
- 'pytevent.c',
- deps='tevent',
- realname='_tevent.so',
- cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
+ bld.SAMBA_PYTHON('_tevent',
+ 'pytevent.c',
+ deps='tevent',
+ realname='_tevent.so',
+ cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
- bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'tevent.py', flat=False)
+ bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'tevent.py', flat=False)
# install out various python scripts for use by make test
bld.SAMBA_SCRIPT('tevent_python',