lua-modules: fix dependencies with version of lua

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Francois Perrad
2015-01-16 22:09:51 +01:00
committed by Peter Korsgaard
parent 7b3dc5c370
commit eb8441b861
5 changed files with 14 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
config BR2_PACKAGE_LUA_MSGPACK_NATIVE
bool "lua-msgpack-native"
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
depends on !BR2_PACKAGE_LUA_5_2
depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
help
This is a native, C language implementation of msgpack
(http://msgpack.org) library/protocol for Lua language
@@ -9,4 +9,5 @@ config BR2_PACKAGE_LUA_MSGPACK_NATIVE
https://github.com/kengonakajima/lua-msgpack-native
comment "lua-msgpack-native needs a Lua 5.1 interpreter"
depends on BR2_PACKAGE_LUA_5_2
depends on !BR2_PACKAGE_LUA_5_1
depends on !BR2_PACKAGE_LUAJIT