diff --git a/boards/arm/nrf53/nrf5340-dk/configs/sdc_nimble_cpunet/defconfig b/boards/arm/nrf53/nrf5340-dk/configs/sdc_nimble_cpunet/defconfig index 2ad5138884..d351b06c94 100644 --- a/boards/arm/nrf53/nrf5340-dk/configs/sdc_nimble_cpunet/defconfig +++ b/boards/arm/nrf53/nrf5340-dk/configs/sdc_nimble_cpunet/defconfig @@ -40,7 +40,6 @@ CONFIG_FILE_STREAM=y CONFIG_INIT_ENTRYPOINT="nimble_main" CONFIG_INTELHEX_BINARY=y CONFIG_LIBC_LONG_LONG=y -CONFIG_LIBC_NETDB=y CONFIG_MM_REGIONS=2 CONFIG_NET=y CONFIG_NETDEV_LATEINIT=y diff --git a/libs/libc/netdb/Kconfig b/libs/libc/netdb/Kconfig index cdd59cd601..840195d13c 100644 --- a/libs/libc/netdb/Kconfig +++ b/libs/libc/netdb/Kconfig @@ -5,6 +5,7 @@ config LIBC_NETDB bool "netdb support" + depends on NET_IPv4 || NET_IPv6 default n menu "NETDB Support"