Skip to content

Commit a2826ff

Browse files
committed
Update MSVC build process for new timezone data.
Missed this dependency in commits 7cce222 et al.
1 parent d46f691 commit a2826ff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/tools/msvc/Install.pm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ sub GenerateTimezoneFiles
316316
my $mf = read_file("src/timezone/Makefile");
317317
$mf =~ s{\\\s*[\r\n]+}{}mg;
318318

319-
$mf =~ /^TZDATA\s*:?=\s*(.*)$/m
320-
|| die "Could not find TZDATA line in timezone makefile\n";
319+
$mf =~ /^TZDATAFILES\s*:?=\s*(.*)$/m
320+
|| die "Could not find TZDATAFILES line in timezone makefile\n";
321321
my @tzfiles = split /\s+/, $1;
322322

323323
$mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
@@ -332,7 +332,8 @@ sub GenerateTimezoneFiles
332332
foreach (@tzfiles)
333333
{
334334
my $tzfile = $_;
335-
push(@args, "src/timezone/data/$tzfile")
335+
$tzfile =~ s|\$\(srcdir\)|src/timezone|;
336+
push(@args, $tzfile);
336337
}
337338

338339
system(@args);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy