|
@@ -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
|