X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=Makefile;h=e18bc18608a171158aa268a90553804fa088cc22;hp=aecee6929e29add4a161f70f5bfd80f7e02b8568;hb=cea6631cdf09c577ae87a21bc3b03273a233c17e;hpb=1b6209203d4e403b4c6b124d1222d0a4ad69d37f diff --git a/Makefile b/Makefile index aecee6929e..e18bc18608 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt dir world: -DISTRO_PKG_CONFIG:=$(shell command -pv pkg-config | grep -E '\/usr' | head -n 1) +DISTRO_PKG_CONFIG:=$(shell which -a pkg-config | grep -E '\/usr' | head -n 1) export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH) ifneq ($(OPENWRT_BUILD),1)