From 14f143c9084fc49b45f30a199dc8a16b7506f959 Mon Sep 17 00:00:00 2001 From: Sven van Haastregt Date: Mon, 21 Feb 2022 13:55:29 +0000 Subject: [PATCH] Fix llvm-objcopy shared lib build Fix after ddf528b7a092 ("[llvm-objcopy][COFF] Fix section name encoding", 2022-02-21) caused "undefined reference to `llvm::COFF::encodeSectionName" failures. --- llvm/lib/ObjCopy/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/ObjCopy/CMakeLists.txt b/llvm/lib/ObjCopy/CMakeLists.txt index 1e516394c74a..ec1160e331c9 100644 --- a/llvm/lib/ObjCopy/CMakeLists.txt +++ b/llvm/lib/ObjCopy/CMakeLists.txt @@ -64,6 +64,7 @@ add_llvm_component_library(LLVMObjCopy intrinsics_gen LINK_COMPONENTS + BinaryFormat Object Support MC