]> granicus.if.org Git - openssl/commitdiff
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 5cf5ee7981bcf0262ad0688372f69ccb6ed8d2a0..179af60b3e58d6e95de8fd37cba83ff3bd251151 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);