Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 13 Jan 2019 22:48:53
Message-Id: 1547419636.57e0b3170f23de9ea767b087c82b2e1e4710c899.chewi@gentoo
1 commit: 57e0b3170f23de9ea767b087c82b2e1e4710c899
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 9 21:52:05 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 13 22:47:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e0b317
7
8 waf-utils.eclass: Respect PKG_CONFIG
9
10 Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling.
11
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 eclass/waf-utils.eclass | 1 +
15 1 file changed, 1 insertion(+)
16
17 diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
18 index dc21baafc9d..2cb26bc8dfd 100644
19 --- a/eclass/waf-utils.eclass
20 +++ b/eclass/waf-utils.eclass
21 @@ -88,6 +88,7 @@ waf-utils_src_configure() {
22 local CMD=(
23 CCFLAGS="${CFLAGS}"
24 LINKFLAGS="${CFLAGS} ${LDFLAGS}"
25 + PKGCONFIG="$(tc-getPKG_CONFIG)"
26 "${WAF_BINARY}"
27 "--prefix=${EPREFIX}/usr"
28 "${libdir[@]}"