[llvm] r257499 - Auto-link with ole32.dll to simplify building LLVM.dll

Jakob Bornecrantz via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 16 13:16:32 PST 2016


My bad its on the branch... my git fu failed me. Sorry for the noise.

Cheers, Jakob.

On Sat, Jan 16, 2016 at 9:14 PM, Jakob Bornecrantz <wallbraker at gmail.com> wrote:
> This should probably go on the llvm 3.8 branch.
>
> Sorry if I'm doing this the wrong way, also there is no bug for this,
> it was discussed here on the ML:
> http://lists.llvm.org/pipermail/llvm-dev/2016-January/093894.html
>
> Cheers, Jakob.
>
> On Tue, Jan 12, 2016 at 7:33 PM, Reid Kleckner via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> 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;
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list