lib: use two-level namespace on macOS

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2026-10-03 17:13:42 -04:00 committed by Martin Braun
parent b1e77b24e4
commit 621fda4633

View File

@ -244,7 +244,6 @@ if(ENABLE_DPDK)
endif()
if(APPLE)
target_link_options(uhd PRIVATE "LINKER:-undefined,dynamic_lookup")
target_link_options(uhd PRIVATE "-flat_namespace")
endif(APPLE)
set_target_properties(uhd PROPERTIES DEFINE_SYMBOL "UHD_DLL_EXPORTS")
if(NOT LIBUHDDEV_PKG)