Skip to content

Commit

Permalink
[nat64] enable discovering NAT64 AIL prefix for OpenWRT (openthread#9441
Browse files Browse the repository at this point in the history
)

According to the description of
openwrt/openwrt#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.
  • Loading branch information
ihidchaos authored Sep 21, 2023
1 parent 3905006 commit 93e72bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posix/platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 93e72bc

Please sign in to comment.