dev-lua/lutok: rework LUA_CFLAGS and LUA_LIBS

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2020-11-04 12:00:29 -05:00
parent 59cebbc216
commit cfb59fec09

View File

@@ -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() {