зеркало из https://github.com/microsoft/git.git
Merge branch 'js/msvc-build-fix'
Workaround breakage in MSVC build, where "curl-config --cflags" gives settings appropriate for GCC build. * js/msvc-build-fix: msvc: fix "REG_STARTEND" issue
This commit is contained in:
Коммит
9906d5f8e9
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче