dev-lua/mpack: Export PKG_CONFIG for src_compile

The Makefile does this:

> PKG_CONFIG ?= pkg-config

so we need to export PKG_CONFIG to use the correct pkg-config binary
when cross-compiling.

Closes: https://github.com/gentoo/gentoo/pull/35572
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2024-02-28 15:46:57 -05:00
parent 838581286f
commit 2d2ab59b78
No known key found for this signature in database
GPG Key ID: ACEB29740C9A4E97
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ lua_src_compile() {
}
src_compile() {
tc-export PKG_CONFIG
lua_foreach_impl lua_src_compile
}