summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-01-09 21:52:05 +0000
committerJames Le Cuirot <chewi@gentoo.org>2019-01-13 22:47:16 +0000
commit57e0b3170f23de9ea767b087c82b2e1e4710c899 (patch)
tree819cbeeff25f1b67afdf08364ba0a7512194ecc9 /eclass
parentwaf-utils.eclass: Simplify output of configure command and arguments (diff)
downloadgentoo-57e0b3170f23de9ea767b087c82b2e1e4710c899.tar.gz
gentoo-57e0b3170f23de9ea767b087c82b2e1e4710c899.tar.bz2
gentoo-57e0b3170f23de9ea767b087c82b2e1e4710c899.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/waf-utils.eclass1
1 files changed, 1 insertions, 0 deletions
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[@]}"