[PATCH] Add LLVM_LINK_COMPONENTS for the shared object build

Rui Ueyama ruiu at google.com
Fri Jan 16 14:52:01 PST 2015


My knowledge on the build system is limited, so I added a few more
reviewers.

On Fri, Jan 16, 2015 at 2:31 PM, Greg Fitzgerald <garious at gmail.com> wrote:

> Hi ruiu,
>
> Configuring with -DBUILD_SHARED_LIBS=ON causes lots of linker errors in
> lld.  This patch fixes all the missing dependencies on LLVM libraries.
>
> REPOSITORY
>   rL LLVM
>
> http://reviews.llvm.org/D7023
>
> Files:
>   lib/Config/CMakeLists.txt
>   lib/Driver/CMakeLists.txt
>   lib/Passes/CMakeLists.txt
>   lib/ReaderWriter/CMakeLists.txt
>   lib/ReaderWriter/ELF/AArch64/CMakeLists.txt
>   lib/ReaderWriter/ELF/Hexagon/CMakeLists.txt
>   lib/ReaderWriter/ELF/Mips/CMakeLists.txt
>   lib/ReaderWriter/ELF/PPC/CMakeLists.txt
>   lib/ReaderWriter/ELF/X86/CMakeLists.txt
>   lib/ReaderWriter/ELF/X86_64/CMakeLists.txt
>   lib/ReaderWriter/MachO/CMakeLists.txt
>   lib/ReaderWriter/Native/CMakeLists.txt
>   lib/ReaderWriter/PECOFF/CMakeLists.txt
>   lib/ReaderWriter/YAML/CMakeLists.txt
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/d2b17653/attachment.html>


More information about the llvm-commits mailing list