[clang] [llvm] [CMake] Detect properly new linker introduced in Xcode 15 (PR #77806)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 11:07:49 PST 2024


================
@@ -211,10 +211,10 @@ if (NOT DEFINED LLVM_LINKER_DETECTED AND NOT WIN32)
     )
 
   if(APPLE)
-    if("${stderr}" MATCHES "PROJECT:ld64")
+    if("${stderr}" MATCHES "PROGRAM:ld")
----------------
ldionne wrote:

Ahhh, now this all makes sense! I hadn't noticed that you switched to `PROGRAM:ld`.

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


More information about the cfe-commits mailing list