[compiler-rt] [compiler-rt] Propagate sysroot from CMake to msan tests (PR #132299)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 31 22:46:07 PDT 2025


================
@@ -63,7 +63,11 @@ set(MSAN_UNITTEST_LINK_FLAGS
   # inputs.
 )
 
-append_list_if(COMPILER_RT_HAS_LIBDL -ldl MSAN_UNITTEST_LINK_FLAGS)
+if (LINUX)
----------------
petrhosek wrote:

Do we need to restrict this to `LINUX`?

https://github.com/llvm/llvm-project/pull/132299


More information about the llvm-commits mailing list