[lld] r315988 - Fix shared build of liblldCommon.so on Linux

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 03:39:27 PDT 2017


Author: arichardson
Date: Tue Oct 17 03:39:27 2017
New Revision: 315988

URL: http://llvm.org/viewvc/llvm-project?rev=315988&view=rev
Log:
Fix shared build of liblldCommon.so on Linux

Modified:
    lld/trunk/Common/CMakeLists.txt

Modified: lld/trunk/Common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/Common/CMakeLists.txt?rev=315988&r1=315987&r2=315988&view=diff
==============================================================================
--- lld/trunk/Common/CMakeLists.txt (original)
+++ lld/trunk/Common/CMakeLists.txt Tue Oct 17 03:39:27 2017
@@ -18,6 +18,9 @@ add_lld_library(lldCommon
   Support
   Target
 
+  LINK_LIBS
+  ${LLVM_PTHREAD_LIB}
+
   DEPENDS
   ${tablegen_deps}
   )




More information about the llvm-commits mailing list