From 035b22b2085c1dc5f5788a941a44f69de757826b Mon Sep 17 00:00:00 2001 From: Guo Li Date: Mon, 10 Sep 2018 11:59:23 +0800 Subject: [PATCH] getdns: remove libbsd dependency Signed-off-by: Guo Li --- libs/getdns/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/getdns/Makefile b/libs/getdns/Makefile index d724f739a..2578659de 100644 --- a/libs/getdns/Makefile +++ b/libs/getdns/Makefile @@ -36,7 +36,7 @@ define Package/getdns SECTION:=libs CATEGORY:=Libraries TITLE+= (library) - DEPENDS+= +libopenssl +libbsd +!GETDNS_ENABLE_STUB_ONLY:libunbound +GETDNS_ENABLE_IDN_LIBIDN2:libidn2 + DEPENDS+= +libopenssl +!GETDNS_ENABLE_STUB_ONLY:libunbound +GETDNS_ENABLE_IDN_LIBIDN2:libidn2 MENU:=1 endef @@ -55,6 +55,8 @@ CONFIGURE_ARGS += \ $(if $(CONFIG_GETDNS_ENABLE_IDN_LIBIDN2), , --without-libidn2 ) \ --with-ssl="$(STAGING_DIR)/usr" \ +CONFIGURE_VARS += LIBBSD_LIBS=-lc + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/getdns/ $(CP) $(PKG_INSTALL_DIR)/usr/include/getdns/getdns*.h $(1)/usr/include/getdns/