We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c7f67 commit 6946280Copy full SHA for 6946280
src/tools/msvc/Mkvcbuild.pm
@@ -527,7 +527,7 @@ sub mkvcbuild
527
# Starting with ActivePerl 5.24, both perlnn.lib and libperlnn.a are provided.
528
# In this case, prefer .lib.
529
my @perl_libs =
530
- grep { /perl\d+\.lib$|libperl\d+\.a$/ } glob($perl_path);
+ reverse sort grep { /perl\d+\.lib$|libperl\d+\.a$/ } glob($perl_path);
531
if (@perl_libs > 0)
532
{
533
$plperl->AddLibrary($perl_libs[0]);
0 commit comments