1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-29 16:21:20 +03:00

Update MSVC build process for new timezone data.

Missed this dependency in commits 7cce222c9 et al.
This commit is contained in:
Tom Lane 2017-11-25 18:15:23 -05:00
parent d46f691581
commit a2826ff8b1

View File

@ -316,8 +316,8 @@ sub GenerateTimezoneFiles
my $mf = read_file("src/timezone/Makefile");
$mf =~ s{\\\s*[\r\n]+}{}mg;
$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
@ -332,7 +332,8 @@ sub GenerateTimezoneFiles
foreach (@tzfiles)
{
my $tzfile = $_;
push(@args, "src/timezone/data/$tzfile")
$tzfile =~ s|\$\(srcdir\)|src/timezone|;
push(@args, $tzfile);
}
system(@args);