summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen.Liu <galen.gang.liu@gmail.com>2013-02-04 07:43:01 +0100
committerJeremy Allison <jra@samba.org>2013-03-01 11:58:53 -0800
commit4a7142ec04de94ae91119a39bd9e48adeab7368b (patch)
tree7d5723f8d662b0bdd46e8e9ee9fbc27eb85a4492
parentd5f92571083c82347f58a415db828b064e377522 (diff)
downloadsamba-4a7142ec04de94ae91119a39bd9e48adeab7368b.tar.gz
samba-4a7142ec04de94ae91119a39bd9e48adeab7368b.tar.bz2
samba-4a7142ec04de94ae91119a39bd9e48adeab7368b.zip
tevent: fix --disable-python cause configure fails (bug #8718)
When we disable python, it will cause build fail! so, the patch will fix it. Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-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',