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

This reverts commit 93e72bcbf9.
This commit is contained in:
GuoYuchao
2023-09-25 11:01:02 -07:00
committed by GitHub
parent f0530afa37
commit f31a583408
+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")
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT OT_TARGET_OPENWRT)
target_compile_definitions(ot-posix-config
INTERFACE "OPENTHREAD_POSIX_CONFIG_NAT64_AIL_PREFIX_ENABLE=1"
)