summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-11-11 16:19:39 +0000
committerChris Bieneman <beanz@apple.com>2015-11-11 16:19:39 +0000
commit021f874c4f788ef134876e22b5b0c0abf7c8b5a8 (patch)
treed95301c31f9fe43e55244be8df17602c348008eb /llvm/cmake
parent29f88a2460f79de003d291137f20626c47612c71 (diff)
downloadbcm5719-llvm-021f874c4f788ef134876e22b5b0c0abf7c8b5a8.tar.gz
bcm5719-llvm-021f874c4f788ef134876e22b5b0c0abf7c8b5a8.zip
[CMake] Make llvm_install_library_symlink respect LLVM_LIBDIR_SUFFIX.
This is required to support multilib install targets, and addresses a regression introduced in r252093. llvm-svn: 252749
Diffstat (limited to 'llvm/cmake')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 2da9b12d3b8..bf2a482df35 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -1074,7 +1074,7 @@ function(llvm_install_library_symlink name dest type)
set(full_name ${CMAKE_${type}_LIBRARY_PREFIX}${name}${CMAKE_${type}_LIBRARY_SUFFIX})
set(full_dest ${CMAKE_${type}_LIBRARY_PREFIX}${dest}${CMAKE_${type}_LIBRARY_SUFFIX})
- set(output_dir lib)
+ set(output_dir lib${LLVM_LIBDIR_SUFFIX})
if(WIN32 AND "${type}" STREQUAL "SHARED")
set(output_dir bin)
endif()
OpenPOWER on IntegriCloud