diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-01-24 11:22:31 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-01-24 13:29:05 +0100 |
commit | f8bc8fa3778648c31e46ff3d8c277b473f663fae (patch) | |
tree | 6f5d7e974ffc7e56ba0ab31d2a581787359c1496 | |
parent | b8ef54f5da32a654b2f47a2466913faef3ff6bc4 (diff) | |
download | upstream-f8bc8fa3778648c31e46ff3d8c277b473f663fae.tar.gz upstream-f8bc8fa3778648c31e46ff3d8c277b473f663fae.tar.bz2 upstream-f8bc8fa3778648c31e46ff3d8c277b473f663fae.zip |
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>
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -274,7 +274,7 @@ BASH:=bash TAR:=tar FIND:=find PATCH:=patch -PYTHON:=python +PYTHON:=python3 INSTALL_BIN:=install -m0755 INSTALL_SUID:=install -m4755 |