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 21:51:39 +0000 (22:51 +0100)
commit13069b1a1dcbef0bb9b42db98025fa9203283220
treee39bfe142702b1d9bb02b1011bf378642445a96e
parent1f5e7224868109a170a9248d18f8d2b6124e9c5a
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>
README.md
include/prereq-build.mk