package/libldns: fix libressl build
Fix the following build failure raised since bump of libressl to version 3.8.2 in commit21eca49ed5
: ./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> (cherry picked from commit96d0d67779
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
9fa2a798dc
commit
d51cd29632
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user