aboutsummaryrefslogtreecommitdiff
path: root/package/luaposix
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2020-05-24 18:48:41 -0600
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-07-27 22:30:59 +0200
commit38bcaecb671e2bb943336715c1fd92c8cb3cff23 (patch)
tree7951e322a74cfbd3a359fcfb81b5de9f62344a6c /package/luaposix
parent053f9c5849edf7a5646862c1c7ad6c87007ebdc2 (diff)
downloadbuildroot-38bcaecb671e2bb943336715c1fd92c8cb3cff23.tar.gz
buildroot-38bcaecb671e2bb943336715c1fd92c8cb3cff23.tar.bz2
package/luaposix: select bit32 based on lua ABI version 5.1
Since the bit32 module is needed by all lua ABI 5.1 providers we can select based on the lua ABI version instead of both lua 5.1 and luajit. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/luaposix')
-rw-r--r--package/luaposix/Config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/luaposix/Config.in b/package/luaposix/Config.in
index cedb3a6654..85943f9915 100644
--- a/package/luaposix/Config.in
+++ b/package/luaposix/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_LUAPOSIX
# "bit32" is included in Lua 5.2+. luajit has an equivalent
# "bit" module, but since it has a different name, luaposix
# doesn't find it.
- select BR2_PACKAGE_LUA_BIT32 if BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT # runtime
+ select BR2_PACKAGE_LUA_BIT32 if BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # runtime
help
This is a POSIX binding for LuaJIT, Lua 5.1 through 5.4;
like most libraries it simply binds to C APIs on the