2021-03-21 16:49:03 +01:00
|
|
|
config BR2_PACKAGE_LUA_CFFI
|
|
|
|
bool "lua-cffi"
|
|
|
|
depends on !BR2_PACKAGE_LUAJIT
|
2022-02-06 20:56:43 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
|
2021-03-21 16:49:03 +01:00
|
|
|
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_PACKAGE_LUAJIT
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
|
|
|
!BR2_TOOLCHAIN_HAS_THREADS
|