diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/Windows.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExtUtils/CBuilder/Platform/Windows.pm b/lib/ExtUtils/CBuilder/Platform/Windows.pm index 1523221ec6..036d056bed 100644 --- a/lib/ExtUtils/CBuilder/Platform/Windows.pm +++ b/lib/ExtUtils/CBuilder/Platform/Windows.pm @@ -374,8 +374,8 @@ sub format_linker_cmd { $spec{output} , ) ]; - if ($cf->{cc} eq 'cl' and $cf->{ccversion} =~ /^(\d+)/ and $1 >= 14) { - # Embed the manifest file for VC 2005 (aka VC 8) or higher + # Embed the manifest file for VC 2005 (aka VC 8) or higher, but not for the 64-bit Platform SDK compiler + if ($cf->{ivsize} == 4 && $cf->{cc} eq 'cl' and $cf->{ccversion} =~ /^(\d+)/ and $1 >= 14) { push @cmds, [ 'mt', '-nologo', $spec{manifest}, '-outputresource:' . "$output;2" ]; |