From f0fc5dbf97bf43347b79f9d896895406ce2927f7 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 12 Jan 2016 18:33:49 +0000 Subject: [PATCH] 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 --- lib/Support/Windows/Path.inc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.34.1