summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/wscript1
-rw-r--r--lib/tevent/wscript1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 9041f8c1ba..58a747f0b2 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -45,6 +45,7 @@ def configure(conf):
if not conf.env.disable_python:
# also disable if we don't have the python libs installed
+ conf.find_program('python', var='PYTHON')
conf.check_tool('python')
conf.check_python_version((2,4,2))
conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index de245d92e7..75c44c2962 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -46,6 +46,7 @@ def configure(conf):
if not conf.env.disable_python:
# also disable if we don't have the python libs installed
+ conf.find_program('python', var='PYTHON')
conf.check_tool('python')
conf.check_python_version((2,4,2))
conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)