Browse Source

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 12 years ago
parent
commit
e0b741c2cb
1 changed files with 1 additions and 0 deletions
  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
 	bool "DNS resolver functions"
 	select UCLIBC_HAS_COMPAT_RES_STATE
+	depends on UCLIBC_HAS_IPV4 || UCLIBC_HAS_IPV6
 	help
 	  Provide implementations for DNS resolver functions.
 	  In particular, the following functions will be added to the