1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

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>
This commit is contained in:
Noel Power
2018-11-24 15:27:45 +00:00
committed by Noel Power
parent 3e017aa7e5
commit a660b7fb8e
14 changed files with 26 additions and 15 deletions

2
configure vendored
View File

@ -13,5 +13,5 @@ export JOBS
unset LD_PRELOAD
cd . || exit 1
${PYTHON:=python} $WAF configure "$@" || exit 1
${PYTHON:=python3} $WAF configure "$@" || exit 1
cd $PREVPATH