Skip to content

Commit

Permalink
Merge pull request #276 from dscho/fix-msvc-build
Browse files Browse the repository at this point in the history
Fix the MSVC build
  • Loading branch information
dscho committed Jun 4, 2020
2 parents 26f52f4 + b0fa428 commit 4f88bb7
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 4f88bb7

Please sign in to comment.