This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bisect-runner.pl should use ".$Config{dlext}" instead of hard-coding ".so".
authorNicholas Clark <nick@ccl4.org>
Mon, 9 Apr 2012 06:38:08 +0000 (08:38 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 28 May 2013 07:19:27 +0000 (09:19 +0200)
Porting/bisect-runner.pl

index d0be2e5..434bb37 100755 (executable)
@@ -918,7 +918,7 @@ unless (extract_from_file('Configure', 'ignore_versioned_solibs')) {
     foreach my $lib (qw(sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld
                        ld sun m crypt sec util c cposix posix ucb BSD)) {
        foreach my $dir (@paths) {
-           next unless -f "$dir/lib$lib.so";
+            next unless -f "$dir/lib$lib.$Config{dlext}";
            push @libs, "-l$lib";
            last;
        }