mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
package/prosody: fix runtime dependencies
prosody is not available for Lua 5.3, but only 5.1 & 5.2.
prosody needs the module BitOp which is included in LuaJIT
note: the actual config is working only LuaJIT
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 768a9b9dd7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
894a19dd7e
commit
ef6432d24f
@@ -2,7 +2,9 @@ config BR2_PACKAGE_PROSODY
|
||||
bool "prosody"
|
||||
depends on BR2_USE_MMU # fork
|
||||
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
||||
depends on !BR2_PACKAGE_LUA_5_3
|
||||
depends on !BR2_STATIC_LIBS # luaexpat, luasec, luasocket, luafilesystem
|
||||
select BR2_PACKAGE_LUABITOP if !BR2_PACKAGE_LUAJIT # runtime
|
||||
select BR2_PACKAGE_LUAEXPAT # runtime
|
||||
select BR2_PACKAGE_LUASEC # runtime
|
||||
select BR2_PACKAGE_LUASOCKET # runtime
|
||||
@@ -19,3 +21,6 @@ config BR2_PACKAGE_PROSODY
|
||||
comment "prosody needs the lua interpreter, dynamic library"
|
||||
depends on !BR2_PACKAGE_HAS_LUAINTERPRETER || BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU
|
||||
|
||||
comment "prosody needs a Lua 5.1/5.2 interpreter"
|
||||
depends on BR2_PACKAGE_LUA_5_3
|
||||
|
||||
Reference in New Issue
Block a user