luaposix: fix runtime dependency
PATCH 1/2 luaposix: fix runtime dependency
Signed-off-by Francois Perrad <[email protected]>
--- package/luaposix/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/luaposix/Config.in +2 -0
@@ -1,5 +1,7 @@ config BR2_PACKAGE_LUAPOSIX bool "luaposix" + select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA + # LuaBitOp is already included in LuaJIT help luaposix is a POSIX binding, including curses, for Lua 5.1 and 5.2; Like most libraries it simply binds to C APIs on
Signature · 1 line
1.7.9.5
PATCH 2/2 luaposix: add ncurses dependency
luaposix includes a curses binding which is optional and auto-detected by autotools.
Signed-off-by Francois Perrad <[email protected]>
--- package/luaposix/luaposix.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/luaposix/luaposix.mk +4 -0
@@ -12,4 +12,8 @@ LUAPOSIX_DEPENDENCIES = lua host-lua LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua" --datarootdir="/usr/share/lua" LUAPOSIX_AUTORECONF = YES +ifeq ($(BR2_PACKAGE_NCURSES),y) + LUAPOSIX_DEPENDENCIES += ncurses +endif + $(eval $(autotools-package))
Signature · 1 line
1.7.9.5
PATCH 2/2 luaposix: add ncurses dependency
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Francois" == Francois Perrad <[email protected]> writes:
Francois> luaposix includes a curses binding which is optional and Francois> auto-detected by autotools.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 luaposix: fix runtime dependency
In reply to Francois PerradQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Francois" == Francois Perrad <[email protected]> writes:
Francois> Signed-off-by: Francois Perrad <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard