Content-Length: 277225 | pFad | http://github.com/postgrespro/postgres_cluster/commit/3c2d5d6600de388729c7d613962d524352b7a67f

3B Improve error message on MSVC if perl*.lib is not found. · postgrespro/postgres_cluster@3c2d5d6 · GitHub
Skip to content

Commit 3c2d5d6

Browse files
committed
Improve error message on MSVC if perl*.lib is not found.
John Harvey, reviewed by Michael Paquier Discussion: <CABcP5fjEjgOsh097cWnQrsK9yCswo4DZxp-V47DKCH-MxY9Gig@mail.gmail.com>
1 parent 674e2de commit 3c2d5d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tools/msvc/Mkvcbuild.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,16 +557,17 @@ sub mkvcbuild
557557
}
558558
}
559559
$plperl->AddReference($postgres);
560+
my $perl_path = $solution->{options}->{perl} . '\lib\CORE\perl*.lib';
560561
my @perl_libs =
561562
grep { /perl\d+.lib$/ }
562-
glob($solution->{options}->{perl} . '\lib\CORE\perl*.lib');
563+
glob($perl_path);
563564
if (@perl_libs == 1)
564565
{
565566
$plperl->AddLibrary($perl_libs[0]);
566567
}
567568
else
568569
{
569-
die "could not identify perl library version";
570+
die "could not identify perl library version matching pattern $perl_path\n";
570571
}
571572

572573
# Add transform module dependent on plperl

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/3c2d5d6600de388729c7d613962d524352b7a67f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy