[PATCH] D26541: [cmake] Fix missing linked libraries for llvm-strings

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 00:59:39 PST 2016


mgorny created this revision.
mgorny added reviewers: compnerd, mehdi_amini, beanz.
mgorny added a subscriber: llvm-commits.

Add missing linkage to Core & Support libraries for llvm-strings, in
order to fix the undefined references (when using split shared
libraries).


https://reviews.llvm.org/D26541

Files:
  tools/llvm-strings/CMakeLists.txt


Index: tools/llvm-strings/CMakeLists.txt
===================================================================
--- tools/llvm-strings/CMakeLists.txt
+++ tools/llvm-strings/CMakeLists.txt
@@ -1,5 +1,7 @@
 set(LLVM_LINK_COMPONENTS
+  Core
   Object
+  Support
   )
 
 add_llvm_tool(llvm-strings


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26541.77599.patch
Type: text/x-patch
Size: 291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161111/fd3b52b2/attachment.bin>


More information about the llvm-commits mailing list