summaryrefslogtreecommitdiffstats
path: root/lib/tevent/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tevent/wscript')
-rwxr-xr-xlib/tevent/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index c62c3de317..71b1f61673 100755
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -109,7 +109,7 @@ def build(bld):
pc_files='tevent.pc',
private_library=private_library)
- if not bld.CONFIG_SET('USING_SYSTEM_PYTEVENT'):
+ if not bld.CONFIG_SET('USING_SYSTEM_PYTEVENT') and not bld.env.disable_python:
bld.SAMBA_PYTHON('pytevent',
'pytevent.c',
deps='tevent',