SHARED_LIBS_LINK_EXTS is no longer used, remove it completely
authorRichard Levitte <levitte@openssl.org>
Tue, 26 Jan 2016 16:04:26 +0000 (17:04 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 26 Jan 2016 18:48:36 +0000 (19:48 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure

index 9dc63439623993eb301702c2ebe0e07f3cc7c831..feb4cc9a609b62c8a03aa7325ad31b87098c17b6 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1146,27 +1146,6 @@ $config{makedepprog} = "makedepend";
 if ($target{cc} eq "gcc" || ($target{cc} eq 'cc' && $config{target} =~ /darwin/)) {
     $config{makedepprog} = $target{cc};
 }
 if ($target{cc} eq "gcc" || ($target{cc} eq 'cc' && $config{target} =~ /darwin/)) {
     $config{makedepprog} = $target{cc};
 }
-# On different platforms, shared library suffixes takes interesting forms.
-# On Most Unixen, it's .so.{version} or .sl.{version}, while on MacOS X,
-# it's .{version}.dylib.  We're want to separate the two so we can calculate
-# symlinks.
-# FIXME: is this actually needed any more?  Makefile.shared seems to just
-# symlink a file name without SOVER to the file with full SOVER, nothing in
-# between.
-if ($target{shared_extension} =~ /^(|(?<e>\.s[ol])(?<v>\..*)|(?<v>\..*)(?<e>\.dylib))$/) {
-    my @vernums = split /\./, $+{v};
-    shift @vernums;             # Because the initial period in shlib_extension.
-    my @s = ();
-    while (@vernums) {
-       pop @vernums;
-       push @s, join(".", $+{e} eq ".dylib" ? "" : $+{e},
-                     @vernums,
-                     $+{e} eq ".dylib" ? $+{e} : () );
-    }
-    $config{shared_link_extensions} = join(" ", @s);
-} else {
-    $config{shared_link_extensions} = "";
-}
 $config{depflags} =~ s/^\s*//;
 
 
 $config{depflags} =~ s/^\s*//;