sdk: fix host menu config targets using ncurses
[openwrt/openwrt.git] / target / sdk / files / Makefile
index 8df1904cb02b9e0a0d3a6c0fdaa9f7e688673fbf..2f89ce0cf85cd5ca5ff6e09579a1e630684046e1 100644 (file)
@@ -14,6 +14,7 @@ export TOPDIR LC_ALL LANG SDK
 
 world:
 
+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)