[lld-macho] Link against ObjCARCOpts instead of ObjCARC
authorJez Ng <jezng@fb.com>
Mon, 25 Jan 2021 14:43:39 +0000 (09:43 -0500)
committerJez Ng <jezng@fb.com>
Tue, 26 Jan 2021 00:01:48 +0000 (19:01 -0500)
Not sure what the difference is, but using the latter appears to cause
issues in standalone builds. See llvm.org/PR48853.

Reviewed By: #lld-macho, compnerd

Differential Revision: https://reviews.llvm.org/D95359

lld/MachO/CMakeLists.txt

index 0279b2e..b76f37d 100644 (file)
@@ -31,7 +31,7 @@ add_lld_library(lldMachO2
   DebugInfoDWARF
   LTO
   MC
-  ObjCARC
+  ObjCARCOpts
   Object
   Option
   Passes