diff options
author | Noel Power <noel.power@suse.com> | 2018-11-24 15:27:45 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:25 +0100 |
commit | a660b7fb8e519bd3be558fd0425bff8f287fca1f (patch) | |
tree | bc1c5d6260ca23cde781f17059f0e77f37cf0b4c /lib/talloc/configure | |
parent | 3e017aa7e51df02d257fbac352ae79fc29aadc68 (diff) | |
download | samba-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 'lib/talloc/configure')
-rwxr-xr-x | lib/talloc/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/configure b/lib/talloc/configure index 6a9f8755112..69bbc4a1bae 100755 --- a/lib/talloc/configure +++ b/lib/talloc/configure @@ -17,5 +17,5 @@ JOBS=1 export JOBS cd . || exit 1 -$WAF configure "$@" || exit 1 +${PYTHON:=python3} $WAF configure "$@" || exit 1 cd $PREVPATH |