Even when you don't want to create shared libraries, it's a good idea
authorRichard Levitte <levitte@openssl.org>
Fri, 13 Oct 2000 16:04:20 +0000 (16:04 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 13 Oct 2000 16:04:20 +0000 (16:04 +0000)
to have the full extension information, so residual shared libraries
can be removed so the applications and test programs do not get linked
against them by mistake...

Configure

index 5cf5ee7..179af60 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -831,7 +831,7 @@ while (<IN>)
        s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/;
        s/^SHLIB_MARK=.*/SHLIB_MARK=$shared_mark/;
        s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared);
-       s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.so.\$(SHLIB_MAJOR) .so/ if (!$no_shared && $shared_extension !~ /^\.s[ol]$/);
+       s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.so.\$(SHLIB_MAJOR) .so/ if ($shared_extension ne "" && $shared_extension !~ /^\.s[ol]$/);
        print OUT $_."\n";
        }
 close(IN);