[llvm] r257499 - Auto-link with ole32.dll to simplify building LLVM.dll
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 12 10:33:49 PST 2016
Author: rnk
Date: Tue Jan 12 12:33:49 2016
New Revision: 257499
URL: http://llvm.org/viewvc/llvm-project?rev=257499&view=rev
Log:
Auto-link with ole32.dll to simplify building LLVM.dll
Patch by Jakob Bornecrantz
Modified:
llvm/trunk/lib/Support/Windows/Path.inc
Modified: llvm/trunk/lib/Support/Windows/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Path.inc?rev=257499&r1=257498&r2=257499&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Path.inc (original)
+++ llvm/trunk/lib/Support/Windows/Path.inc Tue Jan 12 12:33:49 2016
@@ -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;
More information about the llvm-commits
mailing list