[nat64] enable discovering NAT64 AIL prefix for OpenWRT (#9441)

According to the description of
https://github.com/openwrt/openwrt/pull/11559, libanl is already
included in the musl c library, so we can turn this option on.

We enable OPENTHREAD_POSIX_CONFIG_NAT64_AIL_PREFIX_ENABLE on OpenWrt
platform for better experience.
This commit is contained in:
ihidchaos
2023-09-20 18:06:45 -07:00
committed by GitHub
parent 390500639f
commit 93e72bcbf9
+1 -1
View File
@@ -150,7 +150,7 @@ target_link_libraries(openthread-posix
)
option(OT_TARGET_OPENWRT "enable openthread posix for OpenWRT" OFF)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT OT_TARGET_OPENWRT)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
target_compile_definitions(ot-posix-config
INTERFACE "OPENTHREAD_POSIX_CONFIG_NAT64_AIL_PREFIX_ENABLE=1"
)