|
@@ -13,11 +13,9 @@ LIBLDNS_CPE_ID_VENDOR = nlnetlabs
|
|
|
LIBLDNS_CPE_ID_PRODUCT = ldns
|
|
|
LIBLDNS_INSTALL_STAGING = YES
|
|
|
LIBLDNS_DEPENDENCIES = openssl
|
|
|
-# --disable-dane-verify can be removed after openssl bump to 1.1.x
|
|
|
LIBLDNS_CONF_OPTS = \
|
|
|
--with-ssl=$(STAGING_DIR)/usr \
|
|
|
--enable-dane \
|
|
|
- --disable-dane-verify \
|
|
|
--enable-ecdsa \
|
|
|
--enable-gost \
|
|
|
--enable-sha2 \
|
|
@@ -26,6 +24,12 @@ LIBLDNS_CONF_OPTS = \
|
|
|
--without-pyldns \
|
|
|
--without-pyldnsx
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
|
|
+LIBLDNS_CONF_OPTS += --enable-dane-verify
|
|
|
+else
|
|
|
+LIBLDNS_CONF_OPTS += --disable-dane-verify
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
LIBLDNS_DEPENDENCIES += host-pkgconf
|
|
|
# missing -lz breaks configure, add it using pkgconf
|