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

Commit6946280

Browse files
committed
Actually pick .lib file when multiple perl libs are present
7240962 got it right in the comment,but the code did not actually do what the comment said. Fix that.Issue pointed out by Noah Misch.
1 parentf7c7f67 commit6946280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ sub mkvcbuild
527527
# Starting with ActivePerl 5.24, both perlnn.lib and libperlnn.a are provided.
528528
# In this case, prefer .lib.
529529
my@perl_libs =
530-
grep {/perl\d+\.lib$|libperl\d+\.a$/ }glob($perl_path);
530+
reversesortgrep {/perl\d+\.lib$|libperl\d+\.a$/ }glob($perl_path);
531531
if (@perl_libs > 0)
532532
{
533533
$plperl->AddLibrary($perl_libs[0]);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp