getdns: remove libbsd dependency

Signed-off-by: Guo Li <uxgood.org@gmail.com>
This commit is contained in:
Guo Li 2018-09-10 11:59:23 +08:00 committed by Yousong Zhou
parent 8365744b80
commit 035b22b208

View file

@ -36,7 +36,7 @@ define Package/getdns
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE+= (library) 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 MENU:=1
endef endef
@ -55,6 +55,8 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_GETDNS_ENABLE_IDN_LIBIDN2), , --without-libidn2 ) \ $(if $(CONFIG_GETDNS_ENABLE_IDN_LIBIDN2), , --without-libidn2 ) \
--with-ssl="$(STAGING_DIR)/usr" \ --with-ssl="$(STAGING_DIR)/usr" \
CONFIGURE_VARS += LIBBSD_LIBS=-lc
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/getdns/ $(INSTALL_DIR) $(1)/usr/include/getdns/
$(CP) $(PKG_INSTALL_DIR)/usr/include/getdns/getdns*.h $(1)/usr/include/getdns/ $(CP) $(PKG_INSTALL_DIR)/usr/include/getdns/getdns*.h $(1)/usr/include/getdns/