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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy