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
From:
Steve Hay
Date:
February 3, 2009 09:58
Subject:
RE: [perl #61492] ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically linked
Message ID:
1B32FF956ABF414C9BCE5E487A1497E702EB1F1C@ukmail02.planit.group
Steve Hay wrote:
> 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

..., er, and http://perl5.git.perl.org/perl.git/commit/3ddd48a ;-)

Thread Previous


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