mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Update MSVC build process for new timezone data.
Missed this dependency in commits 7cce222c9 et al.
This commit is contained in:
parent
0a7e951810
commit
cd3bde8146
@ -381,8 +381,8 @@ sub GenerateTimezoneFiles
|
|||||||
my $mf = read_file("src/timezone/Makefile");
|
my $mf = read_file("src/timezone/Makefile");
|
||||||
$mf =~ s{\\\r?\n}{}g;
|
$mf =~ s{\\\r?\n}{}g;
|
||||||
|
|
||||||
$mf =~ /^TZDATA\s*:?=\s*(.*)$/m
|
$mf =~ /^TZDATAFILES\s*:?=\s*(.*)$/m
|
||||||
|| die "Could not find TZDATA line in timezone makefile\n";
|
|| die "Could not find TZDATAFILES line in timezone makefile\n";
|
||||||
my @tzfiles = split /\s+/, $1;
|
my @tzfiles = split /\s+/, $1;
|
||||||
|
|
||||||
$mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
|
$mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m
|
||||||
@ -397,7 +397,8 @@ sub GenerateTimezoneFiles
|
|||||||
foreach (@tzfiles)
|
foreach (@tzfiles)
|
||||||
{
|
{
|
||||||
my $tzfile = $_;
|
my $tzfile = $_;
|
||||||
push(@args, "src/timezone/data/$tzfile");
|
$tzfile =~ s|\$\(srcdir\)|src/timezone|;
|
||||||
|
push(@args, $tzfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
system(@args);
|
system(@args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user