build: add which command to build requirements
authorPetr Štetiar <ynezz@true.cz>
Wed, 3 Mar 2021 18:48:55 +0000 (19:48 +0100)
committerPetr Štetiar <ynezz@true.cz>
Wed, 3 Mar 2021 22:03:25 +0000 (23:03 +0100)
commitceb6869cd982056b02f97b51a0e4e2d300ea5b12
tree3cd3d019e88a5c9e2a61af922de056d15e89d814
parent27c5db998cba4bc76b5c9dcf71120181cb813886
build: add which command to build requirements

`which` utility is not shipped by default for example on recent Arch
Linux and then any steps relying on its presence fails, like for example
following Python3 prereq build check:

 $ python3 --version
 Python 3.9.1

 $ make
 /bin/sh: line 1: which: command not found
 ...
 Checking 'python3'... failed.

So make `which` utility host build requirement.

References: PR#3820 FS#3525
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 13069b1a1dcbef0bb9b42db98025fa9203283220)
README.md
include/prereq-build.mk