From: Reid Kleckner Date: Tue, 12 Jan 2016 18:33:49 +0000 (+0000) Subject: Auto-link with ole32.dll to simplify building LLVM.dll X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=f0fc5dbf97bf43347b79f9d896895406ce2927f7 Auto-link with ole32.dll to simplify building LLVM.dll Patch by Jakob Bornecrantz git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257499 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index 4e4841231ef..5ef77b150ef 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -38,6 +38,7 @@ typedef int errno_t; #ifdef _MSC_VER # pragma comment(lib, "advapi32.lib") // This provides CryptAcquireContextW. +# pragma comment(lib, "ole32.lib") // This provides CoTaskMemFree #endif using namespace llvm;