浏览代码

resolver: add a dependencies for DNS resolver feature

DNS resolver needs at least IPV4 or IPV6 support enabled
to be correctly built. Add such dependency.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso 14 年之前
父节点
当前提交
e0b741c2cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      extra/Configs/Config.in

+ 1 - 0
extra/Configs/Config.in

@@ -1291,6 +1291,7 @@ config UCLIBC_HAS_EXTRA_COMPAT_RES_STATE
 config UCLIBC_HAS_RESOLVER_SUPPORT
 config UCLIBC_HAS_RESOLVER_SUPPORT
 	bool "DNS resolver functions"
 	bool "DNS resolver functions"
 	select UCLIBC_HAS_COMPAT_RES_STATE
 	select UCLIBC_HAS_COMPAT_RES_STATE
+	depends on UCLIBC_HAS_IPV4 || UCLIBC_HAS_IPV6
 	help
 	help
 	  Provide implementations for DNS resolver functions.
 	  Provide implementations for DNS resolver functions.
 	  In particular, the following functions will be added to the
 	  In particular, the following functions will be added to the