Explorar o código

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 <[email protected]>
Felix Fietkau %!s(int64=3) %!d(string=hai) anos
pai
achega
f8bc8fa377
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rules.mk

+ 1 - 1
rules.mk

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