summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-01-12 18:33:49 +0000
committerReid Kleckner <rnk@google.com>2016-01-12 18:33:49 +0000
commit304af56d51c78b234862e776ec2e310297112989 (patch)
tree85b659c4eb09b235f3d3de77ed0b5e15597cb2bd /llvm/lib/Support/Windows
parent29c604134b4e8f60bed85f3840937a447c118d66 (diff)
downloadbcm5719-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
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r--llvm/lib/Support/Windows/Path.inc1
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;
OpenPOWER on IntegriCloud