From e6904fdd7e6d5d25e21ff78ed1636673b068fef4 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 11 Jun 2022 16:57:15 +0200 Subject: [PATCH] package/libnetconf2: doesn't build with libressl libnetconf2 doesn't build with libressl which doesn't provide X509_STORE_CTX_get1_certs resulting in the following build failure with netopeer2: [100%] Linking C executable netopeer2-server /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-gnu/11.2.0/../../../../microblaze-buildroot-linux-gnu/bin/ld: /home/buildroot/autobuild/instance-3/output-1/host/microblaze-buildroot-linux-gnu/sysroot/usr/lib/libnetconf2.so: undefined reference to `X509_STORE_CTX_get1_certs' Fixes: - http://autobuild.buildroot.org/results/7f9a114a477e859dfbc62a53ab66c58eddb2318b Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/libnetconf2/libnetconf2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk index 11a1995ea1..00d2c08f63 100644 --- a/package/libnetconf2/libnetconf2.mk +++ b/package/libnetconf2/libnetconf2.mk @@ -23,7 +23,7 @@ else LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF endif -ifeq ($(BR2_PACKAGE_OPENSSL), y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL), y) LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON LIBNETCONF2_DEPENDENCIES += openssl else