commit: 57e0b3170f23de9ea767b087c82b2e1e4710c899
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 9 21:52:05 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 13 22:47:16 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e0b317
waf-utils.eclass: Respect PKG_CONFIG
Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
eclass/waf-utils.eclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
index dc21baafc9d..2cb26bc8dfd 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[@]}"