From: Guo Li Date: Mon, 10 Sep 2018 03:59:23 +0000 (+0800) Subject: getdns: remove libbsd dependency X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=035b22b2085c1dc5f5788a941a44f69de757826b;p=openwrt-packages.git getdns: remove libbsd dependency Signed-off-by: Guo Li --- 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/