Content-Length: 260297 | pFad | http://github.com/postgrespro/postgres/commit/6946280cded903b6f5269fcce105f8ab1d455d33

8E Actually pick .lib file when multiple perl libs are present · postgrespro/postgres@6946280 · GitHub
Skip to content

Commit 6946280

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 parent f7c7f67 commit 6946280

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+
reverse sort grep { /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)








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/commit/6946280cded903b6f5269fcce105f8ab1d455d33

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy