Skip to content

Commit

Permalink
dev-lua/lutok: rework LUA_CFLAGS and LUA_LIBS
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
floppym committed Nov 4, 2020
1 parent 59cebbc commit cfb59fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions dev-lua/lutok/lutok-0.4-r10.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit cfb59fe

Please sign in to comment.