commit: cfb59fec099f9a978c736939932e9431756b4b35
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 4 17:00:29 2020 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Nov 4 17:00:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfb59fec
dev-lua/lutok: rework LUA_CFLAGS and LUA_LIBS
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
dev-lua/lutok/lutok-0.4-r10.ebuild | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/dev-lua/lutok/lutok-0.4-r10.ebuild
b/dev-lua/lutok/lutok-0.4-r10.ebuild
index a88f7f0ef0c..378ed963caf 100644
--- a/dev-lua/lutok/lutok-0.4-r10.ebuild
+++ b/dev-lua/lutok/lutok-0.4-r10.ebuild
@@ -33,9 +33,13 @@ pkg_setup() {
src_configure() {
lua_setup
- lua_get_CFLAGS >/dev/null
- lua_get_LIBS >/dev/null
- econf --enable-shared --disable-static
+ local myconf=(
+ --enable-shared
+ --disable-static
+ LUA_CFLAGS="$(lua_get_CFLAGS)"
+ LUA_LIBS="$(lua_get_LIBS)"
+ )
+ econf "${myconf[@]}"
}
src_install() {