build: change PYTHON to python3
authorFelix Fietkau <nbd@nbd.name>
Mon, 24 Jan 2022 10:22:31 +0000 (11:22 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 24 Jan 2022 12:29:05 +0000 (13:29 +0100)
commitf8bc8fa3778648c31e46ff3d8c277b473f663fae
tree6f5d7e974ffc7e56ba0ab31d2a581787359c1496
parentb8ef54f5da32a654b2f47a2466913faef3ff6bc4
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>
rules.mk