From: James Le Cuirot Date: Wed, 9 Jan 2019 21:52:05 +0000 (+0000) Subject: waf-utils.eclass: Respect PKG_CONFIG X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=57e0b3170f23de9ea767b087c82b2e1e4710c899;p=gentoo.git waf-utils.eclass: Respect PKG_CONFIG Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling. Signed-off-by: James Le Cuirot --- diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index dc21baafc9d2..2cb26bc8dfd9 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -88,6 +88,7 @@ waf-utils_src_configure() { local CMD=( CCFLAGS="${CFLAGS}" LINKFLAGS="${CFLAGS} ${LDFLAGS}" + PKGCONFIG="$(tc-getPKG_CONFIG)" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" "${libdir[@]}"