mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Add PL extension files to MSVC Install procedure.
This commit is contained in:
parent
0b5d734592
commit
a956b16026
@ -113,6 +113,25 @@ sub Install
|
||||
CopyContribFiles($config,$target);
|
||||
CopyIncludeFiles($target);
|
||||
|
||||
my $pl_extension_files = [];
|
||||
my @pldirs = ('src/pl/plpgsql/src');
|
||||
push @pldirs,"src/pl/plperl" if $config->{perl};
|
||||
push @pldirs,"src/pl/plpython" if $config->{python};
|
||||
push @pldirs,"src/pl/tcl" if $config->{tcl};
|
||||
File::Find::find(
|
||||
{
|
||||
wanted =>sub {
|
||||
/^(.*--.*\.sql|.*\.control)\z/s
|
||||
&&push(@$pl_extension_files, $File::Find::name);
|
||||
}
|
||||
},
|
||||
@pldirs
|
||||
);
|
||||
CopySetOfFiles(
|
||||
'PL Extension files', $pl_extension_files,
|
||||
$target . '/share/extension/'
|
||||
);
|
||||
|
||||
GenerateNLSFiles($target,$config->{nls},$majorver) if ($config->{nls});
|
||||
|
||||
print "Installation complete.\n";
|
||||
|
Loading…
Reference in New Issue
Block a user