Skip to content

Commit 6a3f560

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge pull request #2665 from dscho/fix-msvc-build-g4w
msvc: fix "REG_STARTEND" issue
2 parents e5bd64e + 385e4f4 commit 6a3f560

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compat/vcbuild/scripts/clink.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
# before any "-l*" flags.
2424
$is_debug = 1;
2525
}
26-
if ("$arg" =~ /^-[DIMGOZ]/) {
26+
if ("$arg" =~ /^-I\/mingw(32|64)/) {
27+
# eat
28+
} elsif ("$arg" =~ /^-[DIMGOZ]/) {
2729
push(@cflags, $arg);
2830
} elsif ("$arg" eq "-o") {
2931
my $file_out = shift @ARGV;

0 commit comments

Comments
 (0)