[Buildroot] [PATCH 1/1] package/libcoap: fix build with libressl
Fabrice Fontaine
fontaine.fabrice at gmail.com
Mon Apr 4 16:33:20 UTC 2022
Fix the following build failure with libressl raised since commit
8b14f6b49b962d4d8f7135d85afa15658ea8f94b:
src/coap_openssl.c:107:3: erreur: nom de type « BIO_ADDR » inconnu
107 | BIO_ADDR *bio_addr;
| ^~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/30022e437f349459994dccfb612773d529d97a20
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/libcoap/libcoap.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk
index 8a85ff3a2e..edcc1bbef8 100644
--- a/package/libcoap/libcoap.mk
+++ b/package/libcoap/libcoap.mk
@@ -18,7 +18,7 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y)
LIBCOAP_DEPENDENCIES += gnutls
LIBCOAP_CONF_OPTS += \
--enable-dtls --with-gnutls --without-mbedtls --without-openssl
-else ifeq ($(BR2_PACKAGE_OPENSSL),y)
+else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
LIBCOAP_DEPENDENCIES += openssl
LIBCOAP_CONF_OPTS += \
--enable-dtls --without-gnutls --without-mbedtls --with-openssl
--
2.35.1
More information about the buildroot
mailing list