summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-nixio/src/Makefile')
-rw-r--r--libs/luci-lib-nixio/src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luci-lib-nixio/src/Makefile b/libs/luci-lib-nixio/src/Makefile
index a7e9a77d99..893656c256 100644
--- a/libs/luci-lib-nixio/src/Makefile
+++ b/libs/luci-lib-nixio/src/Makefile
@@ -51,7 +51,7 @@ ifeq ($(OS),SunOS)
endif
ifneq (,$(findstring MINGW,$(OS))$(findstring mingw,$(OS))$(findstring Windows,$(OS)))
- NIXIO_CROSS_CC:=$(shell which i586-mingw32msvc-cc)
+ NIXIO_CROSS_CC:=$(shell command -v i586-mingw32msvc-cc)
ifneq (,$(NIXIO_CROSS_CC))
CC:=$(NIXIO_CROSS_CC)
endif