summaryrefslogtreecommitdiff
path: root/source4/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/wscript')
-rw-r--r--source4/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/wscript b/source4/wscript
index 4590d7be70..e9c762ec02 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -1,3 +1,5 @@
+#! /usr/bin/env python
+
srcdir = '..'
blddir = 'bin'
@@ -16,6 +18,7 @@ def set_options(opt):
def configure(conf):
conf.DEFINE('_SAMBA_BUILD_', 4)
+ conf.find_program('python', var='PYTHON', mandatory=True)
conf.sub_config(LIBREPLACE_DIR)
conf.sub_config(LIBLDB_DIR)
conf.sub_config('heimdal_build')