diff options
author | Reid Kleckner <rnk@google.com> | 2016-01-12 18:33:49 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-01-12 18:33:49 +0000 |
commit | 304af56d51c78b234862e776ec2e310297112989 (patch) | |
tree | 85b659c4eb09b235f3d3de77ed0b5e15597cb2bd | |
parent | 29c604134b4e8f60bed85f3840937a447c118d66 (diff) | |
download | bcm5719-llvm-304af56d51c78b234862e776ec2e310297112989.tar.gz bcm5719-llvm-304af56d51c78b234862e776ec2e310297112989.zip |
Auto-link with ole32.dll to simplify building LLVM.dll
Patch by Jakob Bornecrantz
llvm-svn: 257499
-rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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; |