build: fix `which` detection on Fedora & MacOS
authorPaul Spooren <mail@aparcar.org>
Sat, 2 Oct 2021 01:56:27 +0000 (15:56 -1000)
committerPaul Spooren <mail@aparcar.org>
Sat, 9 Oct 2021 02:32:23 +0000 (16:32 -1000)
commit913403b587451abaaf67e8f9640f0dc2cdcec95d
treecee488b75b1a0131a86e46b03219af864ddf7c77
parente604873e8a66697fd8728d7896a4a715d85182fb
build: fix `which` detection on Fedora & MacOS

Fix Fedora 34/35 issue where 'which' detection of 'which' wasn't working
because Fedora use alias and proc

Fixup of fca5ad55d2 prereq-build: fix `which` detection on Fedora

Reported-by: Jani Partanen <rtfm@iki.fi>
Suggest-by: Etienne Champetier <champetier.etienne@gmail.com>
Tested-by: Georgi Valkov <gvalkov@abv.bg>
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 0d1ebf0d6d20f0439ab45b293f9daa7662c44ba6)
include/prereq-build.mk