Files
buildroot/package/lua-cffi/Config.in
Fabrice Fontaine 1652d9b6f8 package/lua-cffi: add luajit support
luajit is supported since the addition of the package in commit
13114d0f93 and
cb92c44e78

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Peter: append to LUA_CFFI_CONF_OPTS]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-25 08:17:46 +02:00

18 lines
549 B
Plaintext

config BR2_PACKAGE_LUA_CFFI
bool "lua-cffi"
depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_LIBFFI
help
This is a portable C FFI for Lua, based on libffi and aiming
to be mostly compatible with LuaJIT FFI, but written from
scratch.
https://github.com/q66/cffi-lua
comment "lua-cffi needs a toolchain w/ C++, gcc >= 4.8, threads"
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
!BR2_TOOLCHAIN_HAS_THREADS