[PATCH] D29099: [lld] [cmake] Fix -rpath-link in stand-alone build

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 11:44:32 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL293078: [cmake] Fix -rpath-link in stand-alone build (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D29099?vs=85635&id=85787#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29099

Files:
  lld/trunk/CMakeLists.txt


Index: lld/trunk/CMakeLists.txt
===================================================================
--- lld/trunk/CMakeLists.txt
+++ lld/trunk/CMakeLists.txt
@@ -42,6 +42,7 @@
   include_directories("${LLVM_BINARY_DIR}/include" ${LLVM_INCLUDE_DIRS})
   link_directories(${LLVM_LIBRARY_DIRS})
 
+  set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
   set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
   find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29099.85787.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170125/76c51db7/attachment.bin>


More information about the llvm-commits mailing list