summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2018-11-24 10:07:54 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-06 23:08:34 +0100
commit768a9b9dd7ef0d2e1bc35e41352f0df6daf59d46 (patch)
tree4eb11a214f5ac4cf878a5e605dc75d353e8531f0
parentbcfbf6437a67199916af9098f3cd38bd5d6c453c (diff)
downloadbuildroot-768a9b9dd7ef0d2e1bc35e41352f0df6daf59d46.tar.gz
buildroot-768a9b9dd7ef0d2e1bc35e41352f0df6daf59d46.zip
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>
-rw-r--r--package/prosody/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/prosody/Config.in b/package/prosody/Config.in
index 133b0b1343..c32ca20e23 100644
--- a/package/prosody/Config.in
+++ b/package/prosody/Config.in
@@ -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
OpenPOWER on IntegriCloud