build: change PYTHON to python3

On recent macOS, /usr/bin/python3 is a wrapper that finds the right python executable
It checks argv[0] to determine if python2 or python3 should be called. Always execute
it as python3 to ensure it calls the right version

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2022-01-24 11:22:31 +01:00
parent b8ef54f5da
commit f8bc8fa377
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ BASH:=bash
TAR:=tar
FIND:=find
PATCH:=patch
PYTHON:=python
PYTHON:=python3
INSTALL_BIN:=install -m0755
INSTALL_SUID:=install -m4755