Merge pull request #2665 from dscho/fix-msvc-build-g4w

msvc: fix "REG_STARTEND" issue
This commit is contained in:
Johannes Schindelin
2020-06-04 23:50:17 +02:00
committed by GitHub

View File

@@ -23,7 +23,9 @@ while (@ARGV) {
# 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;