Skip to content

Commit 148b33c

Browse files
committed
build: Replace which command with command -v
This change made in a way that is compatible with GNU Make versions older than 4.3.
1 parent 8f137e6 commit 148b33c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

depends/hosts/mingw32.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ifneq ($(shell which $(host)-g++-posix),)
1+
ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-g++-posix"),)
22
mingw32_CXX := $(host)-g++-posix
33
endif
44

0 commit comments

Comments
 (0)