From 7586b4b30887f74647a7c8fe278a02484512a746 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 24 Jan 2022 11:22:31 +0100 Subject: [PATCH] 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 --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index 8b24d3a3b..dbb2396e6 100644 --- a/rules.mk +++ b/rules.mk @@ -277,7 +277,7 @@ BASH:=bash TAR:=tar FIND:=find PATCH:=patch -PYTHON:=python +PYTHON:=python3 INSTALL_BIN:=install -m0755 INSTALL_SUID:=install -m4755