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 097b24c commit 7b0cb5eCopy full SHA for 7b0cb5e
src/tools/msvc/Install.pm
@@ -381,8 +381,8 @@ sub GenerateTimezoneFiles
381
my $mf = read_file("src/timezone/Makefile");
382
$mf =~ s{\\\r?\n}{}g;
383
384
- $mf =~ /^TZDATA\s*:?=\s*(.*)$/m
385
- || 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";
386
my @tzfiles = split /\s+/, $1;
387
388
$mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
@@ -397,7 +397,8 @@ sub GenerateTimezoneFiles
397
foreach (@tzfiles)
398
{
399
my $tzfile = $_;
400
- push(@args, "src/timezone/data/$tzfile");
+ $tzfile =~ s|\$\(srcdir\)|src/timezone|;
401
+ push(@args, $tzfile);
402
}
403
404
system(@args);
0 commit comments