summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-22 12:28:00 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-22 15:01:05 -0400
commitd98292cc88b8c823e911dca3e59a28b3e3fd6fec (patch)
tree666a411359245cc9c2fd3e92de71aa82b55846bc /Configure
parentefa5c24753ec5cec4c8b73a36441190b24d85e6d (diff)
downloadperl-d98292cc88b8c823e911dca3e59a28b3e3fd6fec.tar.gz
Darwin can have libfoo.0.dylib instead of libfoo.dylib.0
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/Configure b/Configure
index 23b47dfc4c..ccc6df4a20 100755
--- a/Configure
+++ b/Configure
@@ -5171,6 +5171,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