summaryrefslogtreecommitdiffstats
path: root/llvm/tools/msbuild/LLVM.Cpp.Common.props
diff options
context:
space:
mode:
authorRussell Gallop <russell.gallop@gmail.com>2019-04-29 10:10:17 +0000
committerRussell Gallop <russell.gallop@gmail.com>2019-04-29 10:10:17 +0000
commitd8212edf6840cf44f381da81039fa17a35e6102c (patch)
tree923a2ce43a62f1e13a78190e392f05bde8f58dc0 /llvm/tools/msbuild/LLVM.Cpp.Common.props
parent1536717733bb9848f12f4e0aae871d0fba1c7798 (diff)
downloadbcm5719-llvm-d8212edf6840cf44f381da81039fa17a35e6102c.tar.gz
bcm5719-llvm-d8212edf6840cf44f381da81039fa17a35e6102c.zip
vs integration: Use llvm-lib for librarian
This uses llvm-lib.exe for the librarian instead of Visual Studio provided lib.exe. Without this it is not possible to create static libraries with -flto using the plugin. Original patch by Steven Noonan This fixes: PR41147 Differential Revision: https://reviews.llvm.org/D61193 llvm-svn: 359430
Diffstat (limited to 'llvm/tools/msbuild/LLVM.Cpp.Common.props')
-rw-r--r--llvm/tools/msbuild/LLVM.Cpp.Common.props2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/msbuild/LLVM.Cpp.Common.props b/llvm/tools/msbuild/LLVM.Cpp.Common.props
index 3420b77cfff..bc021b3b9e1 100644
--- a/llvm/tools/msbuild/LLVM.Cpp.Common.props
+++ b/llvm/tools/msbuild/LLVM.Cpp.Common.props
@@ -42,8 +42,10 @@
<LLVMInstallDir Condition="'$(LLVMInstallDir)' != ''">$(LLVMInstallDir)\</LLVMInstallDir>
<ClangClExecutable>$(LLVMInstallDir)bin\clang-cl.exe</ClangClExecutable>
<LldLinkExecutable>$(LLVMInstallDir)bin\lld-link.exe</LldLinkExecutable>
+ <LlvmLibExecutable>$(LLVMInstallDir)bin\llvm-lib.exe</LlvmLibExecutable>
<UseClangCl>true</UseClangCl>
<UseLldLink>true</UseLldLink>
+ <UseLlvmLib>true</UseLlvmLib>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.WindowsSDK.props" Condition="Exists('$(VCTargetsPath)\Microsoft.Cpp.WindowsSDK.props')"/>
OpenPOWER on IntegriCloud