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>
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
  • Loading branch information
nbd168 authored and Boos4721 committed Jan 28, 2022
1 parent d8171a1 commit 0facadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,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 0facadf

Please sign in to comment.