1 |
Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling. |
2 |
|
3 |
Signed-off-by: James Le Cuirot <chewi@g.o> |
4 |
--- |
5 |
eclass/waf-utils.eclass | 1 + |
6 |
1 file changed, 1 insertion(+) |
7 |
|
8 |
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass |
9 |
index 8387829648a3..6cdfe5f747e8 100644 |
10 |
--- a/eclass/waf-utils.eclass |
11 |
+++ b/eclass/waf-utils.eclass |
12 |
@@ -88,6 +88,7 @@ waf-utils_src_configure() { |
13 |
local CMD=( |
14 |
CCFLAGS="${CFLAGS}" |
15 |
LINKFLAGS="${CFLAGS} ${LDFLAGS}" |
16 |
+ PKGCONFIG="$(tc-getPKG_CONFIG)" |
17 |
"${WAF_BINARY}" |
18 |
"--prefix=${EPREFIX}/usr" |
19 |
"${libdir[@]}" |
20 |
-- |
21 |
2.19.2 |