diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-01-25 17:35:24 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-01-31 22:30:00 +0000 |
commit | 148b33cf72033eced8a701d127e21dfe8a816ce3 (patch) | |
tree | 21f6cf24e0712ca42a9c27e18cd4df0bf82520d2 /depends/hosts | |
parent | 8f137e69caeb2a2ffe1aa930bd6fbc49cee4087c (diff) | |
download | bitcoin-148b33cf72033eced8a701d127e21dfe8a816ce3.tar.xz |
build: Replace `which` command with `command -v`
This change made in a way that is compatible with GNU Make versions
older than 4.3.
Diffstat (limited to 'depends/hosts')
-rw-r--r-- | depends/hosts/mingw32.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/hosts/mingw32.mk b/depends/hosts/mingw32.mk index 92fd1b81bf..2f370d2b87 100644 --- a/depends/hosts/mingw32.mk +++ b/depends/hosts/mingw32.mk @@ -1,4 +1,4 @@ -ifneq ($(shell which $(host)-g++-posix),) +ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-g++-posix"),) mingw32_CXX := $(host)-g++-posix endif |