package/prosody: luabitop is only needed with Lua 5.1
authorFrancois Perrad <fperrad@gmail.com>
Tue, 28 Jul 2020 06:21:40 +0000 (08:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 8 Aug 2020 21:47:56 +0000 (23:47 +0200)
The luabitop package is only available with Lua 5.1. LuaJIT, Lua 5.3
or more recent versions of Lua have this functionality built-in.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/prosody/Config.in

index 4b7ea9425683f941bfdca11047154a98a6a295df..bb3a5025faf1a161685fca048fe1b60184127d47 100644 (file)
@@ -3,7 +3,7 @@ config BR2_PACKAGE_PROSODY
        depends on BR2_USE_MMU # fork
        depends on BR2_PACKAGE_HAS_LUAINTERPRETER
        depends on !BR2_STATIC_LIBS # luaexpat, luasec, luasocket, luafilesystem
-       select BR2_PACKAGE_LUABITOP if !BR2_PACKAGE_LUAJIT # runtime
+       select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1 # runtime
        select BR2_PACKAGE_LUAEXPAT # runtime
        select BR2_PACKAGE_LUASEC # runtime
        select BR2_PACKAGE_LUASOCKET # runtime