Skip to content

Commit

Permalink
win64: fix msvc hints for link
Browse files Browse the repository at this point in the history
On win64 with msvc link needs to be link.exe, not cl.exe.
Set it now explicitly, before we only checked for the strawberry case with g++.
This is an regression and fixes issue #1203
  • Loading branch information
Reini Urban committed Apr 20, 2015
1 parent 8ac7324 commit debe2c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/init/hints/mswin32.pm
Expand Up @@ -102,6 +102,9 @@ sub runstep {
$conf->debug(" ld => '$ld', ");
$conf->debug(" ldflags => '$ldflags', ");
}
else {
$conf->data->set( link => $ld );
}

$ccflags =~ s/-Gf/-GF/ if $msvcversion >= 13;
# override perl's warnings level
Expand Down

0 comments on commit debe2c3

Please sign in to comment.