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
This commit is contained in:
Reid Kleckner 2016-01-12 18:33:49 +00:00
parent 9859617d8c
commit f0fc5dbf97

View File

@ -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;