mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
lua-modules: choice between Lua 5.1.x & Lua 5.2.x
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
ba296ab1ea
commit
751d85a7f8
@@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_LUAPOSIX
|
||||
bool "luaposix"
|
||||
depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
|
||||
select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA
|
||||
select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1
|
||||
# LuaBitOp is already included in LuaJIT
|
||||
help
|
||||
luaposix is a POSIX binding, including curses, for Lua 5.1
|
||||
|
||||
@@ -10,7 +10,7 @@ LUAPOSIX_SOURCE = release-v$(LUAPOSIX_VERSION).tar.gz
|
||||
LUAPOSIX_LICENSE = MIT
|
||||
LUAPOSIX_LICENSE_FILES = COPYING
|
||||
LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
|
||||
LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua/5.1" --datarootdir="/usr/share/lua/5.1"
|
||||
LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" --datarootdir="/usr/share/lua/$(LUAINTERPRETER_ABIVER)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||
LUAPOSIX_DEPENDENCIES += ncurses
|
||||
|
||||
Reference in New Issue
Block a user