package/libldns: fix libressl build

Fix the following build failure raised since bump of libressl to version
3.8.2 in commit 21eca49ed5:

./keys.c:167:35: error: 'ENGINE_METHOD_ALL' undeclared (first use in this function)
  167 |         if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) {
      |                                   ^~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/37cc05b78a7004caa1b45d896121f059a4f8ca00

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2023-12-12 21:59:51 +01:00 committed by Yann E. MORIN
parent 3c207c40eb
commit 96d0d67779

View File

@ -17,7 +17,6 @@ LIBLDNS_CONF_OPTS = \
--with-ssl=$(STAGING_DIR)/usr \
--enable-dane \
--enable-ecdsa \
--enable-gost \
--enable-sha2 \
--without-examples \
--without-p5-dns-ldns \
@ -30,6 +29,12 @@ else
LIBLDNS_CONF_OPTS += --disable-dane-verify
endif
ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
LIBLDNS_CONF_OPTS += --enable-gost
else
LIBLDNS_CONF_OPTS += --disable-gost
endif
ifeq ($(BR2_STATIC_LIBS),y)
LIBLDNS_DEPENDENCIES += host-pkgconf
# missing -lz breaks configure, add it using pkgconf