From 4e4554eeb76e8b516c6cbcd66f15868492aac594 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 22 Jul 2024 15:15:28 +0200 Subject: [PATCH] package/luvi: needs engine support in OpenSSL 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 --- package/luvi/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/luvi/Config.in b/package/luvi/Config.in index 3a724acebb..19d3307f12 100644 --- a/package/luvi/Config.in +++ b/package/luvi/Config.in @@ -9,6 +9,7 @@ config BR2_PACKAGE_LUVI 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.