Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3c2d5d6

Browse files
committed
Improve error message on MSVC if perl*.lib is not found.
John Harvey, reviewed by Michael PaquierDiscussion: <CABcP5fjEjgOsh097cWnQrsK9yCswo4DZxp-V47DKCH-MxY9Gig@mail.gmail.com>
1 parent674e2de commit3c2d5d6

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)

[8]ページ先頭

©2009-2025 Movatter.jp