1################################################################################ 2# 3# libldns 4# 5################################################################################ 6 7LIBLDNS_VERSION = 1.7.1 8LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz 9LIBLDNS_SITE = http://www.nlnetlabs.nl/downloads/ldns 10LIBLDNS_LICENSE = BSD-3-Clause 11LIBLDNS_LICENSE_FILES = LICENSE 12LIBLDNS_CPE_ID_VENDOR = nlnetlabs 13LIBLDNS_CPE_ID_PRODUCT = ldns 14LIBLDNS_INSTALL_STAGING = YES 15LIBLDNS_DEPENDENCIES = openssl 16# --disable-dane-verify can be removed after openssl bump to 1.1.x 17LIBLDNS_CONF_OPTS = \ 18 --with-ssl=$(STAGING_DIR)/usr \ 19 --enable-dane \ 20 --disable-dane-verify \ 21 --enable-ecdsa \ 22 --enable-gost \ 23 --enable-sha2 \ 24 --without-examples \ 25 --without-p5-dns-ldns \ 26 --without-pyldns \ 27 --without-pyldnsx 28 29ifeq ($(BR2_STATIC_LIBS),y) 30LIBLDNS_DEPENDENCIES += host-pkgconf 31# missing -lz breaks configure, add it using pkgconf 32LIBLDNS_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`" 33endif 34 35# the linktest make target fails with static linking, and we are only 36# interested in the lib target anyway 37LIBLDNS_MAKE_OPTS = lib 38 39$(eval $(autotools-package)) 40