Skip to content
Snippets Groups Projects
Commit 7b0cb5ec authored by Tom Lane's avatar Tom Lane
Browse files

Update MSVC build process for new timezone data.

Missed this dependency in commits 7cce222c et al.
parent 097b24ce
No related branches found
No related tags found
No related merge requests found
......@@ -381,8 +381,8 @@ sub GenerateTimezoneFiles
my $mf = read_file("src/timezone/Makefile");
$mf =~ s{\\\r?\n}{}g;
$mf =~ /^TZDATA\s*:?=\s*(.*)$/m
|| 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";
my @tzfiles = split /\s+/, $1;
$mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
......@@ -397,7 +397,8 @@ sub GenerateTimezoneFiles
foreach (@tzfiles)
{
my $tzfile = $_;
push(@args, "src/timezone/data/$tzfile");
$tzfile =~ s|\$\(srcdir\)|src/timezone|;
push(@args, $tzfile);
}
system(@args);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment