From 304af56d51c78b234862e776ec2e310297112989 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 12 Jan 2016 18:33:49 +0000 Subject: Auto-link with ole32.dll to simplify building LLVM.dll Patch by Jakob Bornecrantz llvm-svn: 257499 --- llvm/lib/Support/Windows/Path.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 4e4841231ef..5ef77b150ef 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/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; -- cgit v1.2.3