[PATCH] D23287: [libcxxabi] Add lib directory to linker paths when using libunwind

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 8 17:35:08 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL278076: Add lib directory to linker paths when using libunwind (authored by phosek).

Changed prior to commit:
  https://reviews.llvm.org/D23287?vs=67258&id=67259#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D23287

Files:
  libcxxabi/trunk/src/CMakeLists.txt

Index: libcxxabi/trunk/src/CMakeLists.txt
===================================================================
--- libcxxabi/trunk/src/CMakeLists.txt
+++ libcxxabi/trunk/src/CMakeLists.txt
@@ -55,6 +55,9 @@
 append_if(libraries LIBCXXABI_HAS_C_LIB c)
 
 if (LIBCXXABI_USE_LLVM_UNWINDER)
+  if (NOT LIBCXXABI_BUILT_STANDALONE)
+    link_directories(${LLVM_LIBRARY_DIR})
+  endif()
   list(APPEND libraries unwind)
 else()
   append_if(libraries LIBCXXABI_HAS_GCC_S_LIB gcc_s)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23287.67259.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160809/7243d2aa/attachment.bin>


More information about the llvm-commits mailing list