|
@@ -28,7 +28,6 @@ BIND_CONF_OPTS = \
|
|
--with-libjson=no \
|
|
--with-libjson=no \
|
|
--with-randomdev=/dev/urandom \
|
|
--with-randomdev=/dev/urandom \
|
|
--enable-epoll \
|
|
--enable-epoll \
|
|
- --with-libtool \
|
|
|
|
--with-gssapi=no \
|
|
--with-gssapi=no \
|
|
--enable-filter-aaaa
|
|
--enable-filter-aaaa
|
|
|
|
|
|
@@ -54,12 +53,13 @@ BIND_CONF_OPTS += --with-libxml2=no
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
-BIND_DEPENDENCIES += openssl
|
|
|
|
|
|
+BIND_DEPENDENCIES += host-pkgconf openssl
|
|
BIND_CONF_OPTS += \
|
|
BIND_CONF_OPTS += \
|
|
--with-openssl=$(STAGING_DIR)/usr \
|
|
--with-openssl=$(STAGING_DIR)/usr \
|
|
--with-ecdsa=yes \
|
|
--with-ecdsa=yes \
|
|
--with-eddsa=no \
|
|
--with-eddsa=no \
|
|
--with-aes=yes
|
|
--with-aes=yes
|
|
|
|
+BIND_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
|
# GOST cipher support requires openssl extra engines
|
|
# GOST cipher support requires openssl extra engines
|
|
ifeq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
|
|
ifeq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
|
|
BIND_CONF_OPTS += --with-gost=yes
|
|
BIND_CONF_OPTS += --with-gost=yes
|
|
@@ -84,6 +84,16 @@ else
|
|
BIND_CONF_OPTS += --with-readline=no
|
|
BIND_CONF_OPTS += --with-readline=no
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
+BIND_CONF_OPTS += \
|
|
|
|
+ --without-dlopen \
|
|
|
|
+ --without-libtool
|
|
|
|
+else
|
|
|
|
+BIND_CONF_OPTS += \
|
|
|
|
+ --with-dlopen \
|
|
|
|
+ --with-libtool
|
|
|
|
+endif
|
|
|
|
+
|
|
define BIND_TARGET_REMOVE_SERVER
|
|
define BIND_TARGET_REMOVE_SERVER
|
|
rm -rf $(addprefix $(TARGET_DIR)/usr/sbin/, $(BIND_TARGET_SERVER_SBIN))
|
|
rm -rf $(addprefix $(TARGET_DIR)/usr/sbin/, $(BIND_TARGET_SERVER_SBIN))
|
|
endef
|
|
endef
|