dev-lua/lpeg: cross-compiling fix

Closes: https://github.com/gentoo/gentoo/pull/24166
Signed-off-by: Matija Skala <mskala@gmx.com>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Matija Skala
2022-02-11 22:55:24 +01:00
committed by Conrad Kostecki
parent 7c78913289
commit 345c4a8dbe

View File

@@ -50,7 +50,7 @@ src_prepare() {
lua_src_compile() {
cd "${S}.${ELUA}/" || die
emake CC="$(tc-getCC)" \
LUADIR="${EPREFIX}/$(lua_get_include_dir)"
LUADIR="${ESYSROOT}/$(lua_get_include_dir)"
}
src_compile() {