|
|
@ -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/ |
|
|
|