When we disable python, it will cause build fail!
so, the patch will fix it.
Reviewed-by: Stefan Metzmacher <metze@samba.org>
pc_files='tevent.pc',
private_library=private_library)
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',
bld.SAMBA_PYTHON('pytevent',
'pytevent.c',
deps='tevent',