[libcxx-commits] [libcxxabi] [libcxxabi] Always link against libzircon for Fuchsia targets (PR #115910)
Paul Kirth via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 18 15:33:09 PST 2024
================
@@ -75,6 +75,10 @@ if (NOT APPLE) # On Apple platforms, we always use -nostdlib++ so we don't need
add_library_flags_if(LIBCXXABI_HAS_C_LIB c)
endif()
+if (FUCHSIA)
+ add_link_flags("-Wl,--push-state,--as-needed,-lzircon,--pop-state")
----------------
ilovepi wrote:
done.
https://github.com/llvm/llvm-project/pull/115910
More information about the libcxx-commits
mailing list