When OpenSSL support is enabled, luvi needs the engine support, otherwise it fails with: /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/13.2.1/../../../../aarch64_be-none-linux-gnu/bin/ld: liblua_openssl.a(pkey.c.o): in function `openssl_pkey_set_engine': pkey.c:(.text+0xac0): undefined reference to `ENGINE_get_DH' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/13.2.1/../../../../aarch64_be-none-linux-gnu/bin/ld: pkey.c:(.text+0xaf4): undefined reference to `ENGINE_get_EC' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/13.2.1/../../../../aarch64_be-none-linux-gnu/bin/ld: pkey.c:(.text+0xb20): undefined reference to `ENGINE_get_DSA' /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-none-linux-gnu/13.2.1/../../../../aarch64_be-none-linux-gnu/bin/ld: pkey.c:(.text+0xb4c): undefined reference to `ENGINE_get_RSA' collect2: error: ld returned 1 exit status Fixes: http://autobuild.buildroot.net/results/722c767985d75b82baec8c3ac55f8eaf1ed6d07b/ https://gitlab.com/buildroot.org/buildroot/-/jobs/7391793024 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_LUVI
|
|
bool "luvi"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
|
depends on BR2_USE_MMU # libuv
|
|
depends on !BR2_STATIC_LIBS # libuv
|
|
depends on BR2_PACKAGE_LUAJIT
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
|
|
select BR2_PACKAGE_LIBUV
|
|
select BR2_PACKAGE_LUV
|
|
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
|
select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL
|
|
help
|
|
A project in-between luv and luvit. The goal of this is to
|
|
make building luvit and derivatives much easier.
|
|
|
|
luvi extends LuaJIT with asynchronous I/O and several optional
|
|
modules to run Lua applications and build self-contained
|
|
binaries on systems that don't have a compiler.
|
|
|
|
The luvi core can be extended with several Lua modules by
|
|
adding its bundled Lua binding libraries.
|
|
To get the Lua module...
|
|
* 'rex' select PCRE (BR2_PACKAGE_PCRE)
|
|
* 'ssl' select OpenSSL (BR2_PACKAGE_OPENSSL)
|
|
* 'zlib' select zlib (BR2_PACKAGE_ZLIB)
|
|
|
|
https://github.com/luvit/luvi
|
|
|
|
comment "luvi needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
|
|
comment "luvi needs LuaJIT"
|
|
depends on !BR2_PACKAGE_LUAJIT
|