msbuild: Add clang's compiler-rt libs to the LibraryPath
authorReid Kleckner <reid@kleckner.net>
Thu, 5 Sep 2013 02:09:34 +0000 (02:09 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 5 Sep 2013 02:09:34 +0000 (02:09 +0000)
This allows linking libraries like the asan RTL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190028 91177308-0d34-0410-b5e6-96231b3b80d8

tools/msbuild/Microsoft.Cpp.Win32.llvm.props.in

index 0f474c0e9e04d4258c76e22eae990717482f5e88..3020d793f92a8a68f89107a45a45910cde86da44 100644 (file)
@@ -5,5 +5,6 @@
     <LLVMInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\LLVM\@REG_KEY@)</LLVMInstallDir>\r
     <LLVMInstallDir Condition="'$(LLVMInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LLVM\@REG_KEY@)</LLVMInstallDir>\r
     <ExecutablePath>$(LLVMInstallDir)\msbuild-bin;$(ExecutablePath)</ExecutablePath>\r
+    <LibraryPath>$(LLVMInstallDir)\lib\clang\3.4\lib\windows;$(LibraryPath)</LibraryPath>\r
   </PropertyGroup>\r
 </Project>\r