We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46f691 commit a2826ffCopy full SHA for a2826ff
src/tools/msvc/Install.pm
@@ -316,8 +316,8 @@ sub GenerateTimezoneFiles
316
my $mf = read_file("src/timezone/Makefile");
317
$mf =~ s{\\\s*[\r\n]+}{}mg;
318
319
- $mf =~ /^TZDATA\s*:?=\s*(.*)$/m
320
- || die "Could not find TZDATA line in timezone makefile\n";
+ $mf =~ /^TZDATAFILES\s*:?=\s*(.*)$/m
+ || die "Could not find TZDATAFILES line in timezone makefile\n";
321
my @tzfiles = split /\s+/, $1;
322
323
$mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
@@ -332,7 +332,8 @@ sub GenerateTimezoneFiles
332
foreach (@tzfiles)
333
{
334
my $tzfile = $_;
335
- push(@args, "src/timezone/data/$tzfile")
+ $tzfile =~ s|\$\(srcdir\)|src/timezone|;
336
+ push(@args, $tzfile);
337
}
338
339
system(@args);
0 commit comments