summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-12-12 07:10:30 +1300
committerNoel Power <npower@samba.org>2018-12-14 14:40:19 +0100
commit5ddff307b4af5c82d5064745f5bd2c33bd340ced (patch)
tree3f1d81d3e862bfe5f47c2e66684f2115d06554cc /buildtools
parent31957c7fe9d0f67bef08177e982043a23b172c7d (diff)
downloadsamba-5ddff307b4af5c82d5064745f5bd2c33bd340ced.tar.gz
build: Move python detection back into waf (instead of in configure and Makefile)
This avoids creating a mini-configure in the configure script. Users wishing to use python2 to build need to specify PYTHON= to both ./configure and make After we merged the python3 change, it became clear that relying on systems prefixing the correct python just causes trouble and make debugging harder, so only use $PYTHON for the override, not the default case This essentially reverts a660b7fb8e519bd3be558fd0425bff8f287fca1f but leaves the files more consistent. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/bin/waf2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/bin/waf b/buildtools/bin/waf
index e3c0cb5563d..3ee4d5bc4df 100755
--- a/buildtools/bin/waf
+++ b/buildtools/bin/waf
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# encoding: latin-1
# Thomas Nagy, 2005-2018
#