Fix shared library builds of lld, broken in SVN r319138
authorMartin Storsjo <martin@martin.st>
Tue, 28 Nov 2017 08:12:03 +0000 (08:12 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 28 Nov 2017 08:12:03 +0000 (08:12 +0000)
llvm-svn: 319152

lld/Common/CMakeLists.txt
lld/ELF/CMakeLists.txt

index e0ff979..7a6a6de 100644 (file)
@@ -15,6 +15,7 @@ add_lld_library(lldCommon
 
   LINK_COMPONENTS
   Codegen
+  Demangle
   MC
   Option
   Support
index aef5ee6..511529a 100644 (file)
@@ -47,7 +47,6 @@ add_lld_library(lldELF
   BinaryFormat
   Core
   DebugInfoDWARF
-  Demangle
   LTO
   MC
   Object