projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519fafe
)
waf-utils.eclass: Respect PKG_CONFIG
author
James Le Cuirot
<chewi@gentoo.org>
Wed, 9 Jan 2019 21:52:05 +0000
(21:52 +0000)
committer
James Le Cuirot
<chewi@gentoo.org>
Sun, 13 Jan 2019 22:47:16 +0000
(22:47 +0000)
Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
eclass/waf-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/waf-utils.eclass
b/eclass/waf-utils.eclass
index dc21baafc9d20037aa8b18dee3c82cadb6633253..2cb26bc8dfd9c9ae03eead941d44aa4a370c3570 100644
(file)
--- 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[@]}"