[LoongArch] Fix shared build. NFC.
authorMichael Liao <michael.hliao@gmail.com>
Fri, 15 Apr 2022 04:16:26 +0000 (00:16 -0400)
committerMichael Liao <michael.hliao@gmail.com>
Fri, 15 Apr 2022 04:21:28 +0000 (00:21 -0400)
llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt

index f53ddba..e14360f 100644 (file)
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMLoongArchInfo
   LoongArchTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT