diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c85d9764f794e..1b3fb90dae1f66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1113,6 +1113,7 @@ if(APPLE) target_link_options(${bun} PUBLIC "-dead_strip") target_link_options(${bun} PUBLIC "-dead_strip_dylibs") target_link_options(${bun} PUBLIC "-Wl,-stack_size,0x1200000") + target_link_options(${bun} PUBLIC "-ld64") target_link_options(${bun} PUBLIC "-exported_symbols_list" "${BUN_SRC}/symbols.txt") set_target_properties(${bun} PROPERTIES LINK_DEPENDS "${BUN_SRC}/symbols.txt")