diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-01-09 21:52:05 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-01-13 22:47:16 +0000 |
commit | 57e0b3170f23de9ea767b087c82b2e1e4710c899 (patch) | |
tree | 819cbeeff25f1b67afdf08364ba0a7512194ecc9 /eclass | |
parent | waf-utils.eclass: Simplify output of configure command and arguments (diff) | |
download | gentoo-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.eclass | 1 |
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[@]}" |