From: Matt Caswell Date: Thu, 14 Apr 2016 13:16:52 +0000 (+0100) Subject: Make "shared" builds the default X-Git-Tag: OpenSSL_1_1_0-pre5~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce942199dbfc3fe8c72c60e7e0878f32b168f327;p=oweals%2Fopenssl.git Make "shared" builds the default In most cases we expect that people will be using shared libraries not static ones, therefore we make that the default. Reviewed-by: Richard Levitte --- diff --git a/CHANGES b/CHANGES index 70b846e3a9..d6cfc0ec8b 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,10 @@ Changes between 1.0.2g and 1.1.0 [xx XXX xxxx] + *) "shared" builds are now the default. To create only static libraries use + the "no-shared" Configure option. + [Matt Caswell] + *) Remove the no-aes, no-hmac, no-rsa, no-sha and no-md5 Configure options. All of these option have not worked for some while and are fundamental algorithms. diff --git a/Configure b/Configure index 8192f9e7d2..a7b9ed564f 100755 --- a/Configure +++ b/Configure @@ -341,7 +341,6 @@ our %disabled = ( # "what" => "comment" "md2" => "default", "rc5" => "default", "sctp" => "default", - "shared" => "default", "ssl-trace" => "default", "ssl3" => "default", "ssl3-method" => "default", diff --git a/INSTALL b/INSTALL index 3e0496df49..dad2a08853 100644 --- a/INSTALL +++ b/INSTALL @@ -240,10 +240,9 @@ sctp Build support for SCTP - shared - In addition to the usual static libraries, create shared - libraries on platforms where it's supported. See "Note on - shared libraries" below. + no-shared + Do not create shared libraries, only static ones. See "Note + on shared libraries" below. no-sock Don't build support for socket BIOs @@ -638,15 +637,12 @@ Note on shared libraries ------------------------ - Shared libraries have certain caveats. Binary backward compatibility - can't be guaranteed before OpenSSL version 1.0. The only reason to - use them would be to conserve memory on systems where several programs - are using OpenSSL. - - For most systems, the OpenSSL Configure script knows what is needed to - build shared libraries for libcrypto and libssl. On these systems, - the shared libraries are currently not created by default, but giving - the option "shared" will get them created. + For most systems the OpenSSL Configure script knows what is needed to + build shared libraries for libcrypto and libssl. On these systems + the shared libraries will be created by default. This can be suppressed and + only static libraries created by using the "no-shared" option. On systems + where OpenSSL does not know how to build shared libraries the "no-shared" + option will be forced and only static libraries will be created. Note on random number generation -------------------------------- diff --git a/NEWS b/NEWS index 42557a6622..72f757966d 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ Major changes between OpenSSL 1.0.2g and OpenSSL 1.1.0 [in pre-release] + o "shared" builds are now the default when possible o Added support for "pipelining" o Added the AFALG engine o New threading API implemented