This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Darwin can have libfoo.0.dylib instead of libfoo.dylib.0
authorH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Wed, 3 Sep 2014 16:04:13 +0000 (18:04 +0200)
committerH.Merijn Brand - Tux <h.m.brand@xs4all.nl>
Wed, 3 Sep 2014 16:04:13 +0000 (18:04 +0200)
Backport of d98292cc88b8c823e911dca3e59a28b3e3fd6fec
Author: Jarkko Hietaniemi <jhi@iki.fi>  2014-08-22 18:28:00

U/modified/libs.U

index a5468f8..7c6dafe 100644 (file)
@@ -124,6 +124,9 @@ for thislib in $libswanted; do
                xxx=`ls $thisdir/lib$thislib.$so.[0-9] 2>/dev/null|sed -n '$p'`
                $test -f "$xxx" && eval $libscheck
                $test -f "$xxx" && libstyle=shared
+               xxx=`ls $thisdir/lib$thislib.[0-9].$so 2>/dev/null|sed -n '$p'`
+               $test -f "$xxx" && eval $libscheck
+               $test -f "$xxx" && libstyle=shared
            fi
            if test ! -f "$xxx"; then
                xxx=$thisdir/lib$thislib.$so