build: default PYTHON to python3 in Makefile

So that direct calls to `make` which spawn the configure script do not use Python 2.

PR-URL: https://github.com/nodejs/node/pull/37764
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ash Cripps <acripps@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Michaël Zasso
2021-03-16 07:50:42 +01:00
committed by gengjiawen
parent 8e80fc7ff8
commit c3a5e15ebe

View File

@@ -1,7 +1,7 @@
-include config.mk
BUILDTYPE ?= Release
PYTHON ?= python
PYTHON ?= python3
DESTDIR ?=
SIGN ?=
PREFIX ?= /usr/local