From 1b5e5350e1ff97bae27f204c2009992551d469aa Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Wed, 11 Nov 2015 16:19:39 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252749 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/AddLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 2da9b12d3b8..bf2a482df35 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/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() -- 2.34.1