mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 21:22:47 +01:00
build: Replace which command with command -v
This change made in a way that is compatible with GNU Make versions older than 4.3.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
ifneq ($(shell which $(host)-g++-posix),)
|
ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-g++-posix"),)
|
||||||
mingw32_CXX := $(host)-g++-posix
|
mingw32_CXX := $(host)-g++-posix
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user