This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
change#4987 appears to have broken libs scan for platforms that
authorGurusamy Sarathy <gsar@cpan.org>
Tue, 8 Feb 2000 06:59:03 +0000 (06:59 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Tue, 8 Feb 2000 06:59:03 +0000 (06:59 +0000)
don't set ignore_versioned_solibs (Solaris is one of them); add
derivative fix from the older logic for skipping versioned .so
libs

p4raw-link: @4987 on //depot/metaconfig: fe5b8781807029f58f40d406090e51ee2550d35eon //depot/cfgperl: 43999f954454f106a60aa261bde57912dbef8b71

p4raw-id: //depot/perl@5036

Configure

index d98e7d9..0d215f1 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -3686,12 +3686,9 @@ esac
 for thislib in $libswanted; do
        
        libname="$thislib"
-       if xxx=`./loc lib$thislib.$so.[0-9]'*' X $libpth`; $test -f "$xxx"; then
-               if $test "X$ignore_versioned_solibs" = "X"; then
-                       xxx=/ignored$xxx
-               else
-                       libstyle=shared
-               fi
+       if xxx=`./loc lib$thislib.$so.[0-9]'*' X $libpth`;
+               $test -f "$xxx" -a "X$ignore_versioned_solibs" = "X"; then
+               libstyle=shared
        elif xxx=`./loc lib$thislib.$so X $libpth` ; $test -f "$xxx"; then
                libstyle=shared
        elif xxx=`./loc lib$thislib$_a X $libpth`; $test -f "$xxx"; then