Skip to content

Commit

Permalink
Merge pull request #2665 from dscho/fix-msvc-build-g4w
Browse files Browse the repository at this point in the history
msvc: fix "REG_STARTEND" issue
  • Loading branch information
dscho authored Jun 4, 2020
2 parents 907ab10 + 8422b5e commit ce436fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compat/vcbuild/scripts/clink.pl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
# before any "-l*" flags.
$is_debug = 1;
}
if ("$arg" =~ /^-[DIMGOZ]/) {
if ("$arg" =~ /^-I\/mingw(32|64)/) {
# eat
} elsif ("$arg" =~ /^-[DIMGOZ]/) {
push(@cflags, $arg);
} elsif ("$arg" eq "-o") {
my $file_out = shift @ARGV;
Expand Down

0 comments on commit ce436fd

Please sign in to comment.