Skip to content

Commit

Permalink
build: change PYTHON to python3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
nbd168 committed Jan 24, 2022
1 parent b8ef54f commit f8bc8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules.mk
Expand Up @@ -274,7 +274,7 @@ BASH:=bash
TAR:=tar
FIND:=find
PATCH:=patch
PYTHON:=python
PYTHON:=python3

INSTALL_BIN:=install -m0755
INSTALL_SUID:=install -m4755
Expand Down

0 comments on commit f8bc8fa

Please sign in to comment.