develooper Front page | perl.perl5.porters | Postings from February 2009

RE: [perl #61492] ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically linked

Thread Previous | Thread Next
From:
Steve Hay
Date:
February 3, 2009 09:43
Subject:
RE: [perl #61492] ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically linked
Message ID:
1B32FF956ABF414C9BCE5E487A1497E702EB1F0E@ukmail02.planit.group
Jan Dubois wrote:
> On Fri, 19 Dec 2008, Steve Hay wrote:
>> Jan Dubois wrote:
>>> I don't think it is feasible to detect static vs. dynamic linking by
>>> analyzing all the compile and link options.  It would be much easier
>>> to only invoke the `mt` command if the compile step actually
>>> generated a manifest: 
>>> 
>>>     if exist $@.manifest mt -nologo -manifest $@.manifest ...
>>>     if exist $@.manifest del $@.manifest
>>> 
>> 
>> Thanks, applied as 4adc95e616bac7eea015e9e47e439b063c1132d5.
> 
> On second thoughts I think we should also remove the compiler check
> and emit this code now unconditionally. It will be a no-op if you use
> a compiler that doesn't generate a manifest.
> 

Thanks, applied as http://perl5.git.perl.org/perl.git/commit/200cbd6

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About