mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-26 18:01:34 +02:00
fix(asio): Make asio enable if_nametoindex to fix linking
This commit is contained in:
@ -1,6 +1,15 @@
|
|||||||
menu "ESP-ASIO"
|
menu "ESP-ASIO"
|
||||||
visible if LWIP_IPV6
|
visible if LWIP_IPV6
|
||||||
|
|
||||||
|
config ASIO_IS_ENABLED
|
||||||
|
# Invisible option that is enabled if ASIO is added to the IDF components.
|
||||||
|
# This is used to "select" LWIP_NETIF_API option
|
||||||
|
# which enables if_indextoname() and if_nametoindex() functions
|
||||||
|
# (these are optionally used in asio)
|
||||||
|
bool
|
||||||
|
default "y"
|
||||||
|
select LWIP_NETIF_API
|
||||||
|
|
||||||
config ASIO_SSL_SUPPORT
|
config ASIO_SSL_SUPPORT
|
||||||
bool "Enable SSL/TLS support of ASIO"
|
bool "Enable SSL/TLS support of ASIO"
|
||||||
default n
|
default n
|
||||||
|
Reference in New Issue
Block a user