summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-11-24 15:27:45 +0000
committerNoel Power <npower@samba.org>2018-12-10 10:38:25 +0100
commita660b7fb8e519bd3be558fd0425bff8f287fca1f (patch)
treebc1c5d6260ca23cde781f17059f0e77f37cf0b4c /Makefile
parent3e017aa7e51df02d257fbac352ae79fc29aadc68 (diff)
downloadsamba-a660b7fb8e519bd3be558fd0425bff8f287fca1f.tar.gz
PY3: switch current build to use python3
Make sure default make and configure for all now defaults to building with python3. To build a samba (or sub component e.g. talloc etc.) with python3 ./configure && make To build a samba (or sub component e.g. talloc etc.) with python2 PYTHON=python ./configure && PYTHON=python make Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cc90771000..4290986a939 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# simple makefile wrapper to run waf
-PYTHON?=python
+PYTHON?=python3
WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
WAF=WAF_MAKE=1 $(WAF_BINARY)