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 <levitte@openssl.org>
This commit is contained in:
Matt Caswell 2016-04-14 14:16:52 +01:00
parent 1ee7b8b97c
commit ce942199db
4 changed files with 14 additions and 14 deletions

View File

@ -4,6 +4,10 @@
Changes between 1.0.2g and 1.1.0 [xx XXX xxxx] 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. *) 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 All of these option have not worked for some while and are fundamental
algorithms. algorithms.

View File

@ -341,7 +341,6 @@ our %disabled = ( # "what" => "comment"
"md2" => "default", "md2" => "default",
"rc5" => "default", "rc5" => "default",
"sctp" => "default", "sctp" => "default",
"shared" => "default",
"ssl-trace" => "default", "ssl-trace" => "default",
"ssl3" => "default", "ssl3" => "default",
"ssl3-method" => "default", "ssl3-method" => "default",

22
INSTALL
View File

@ -240,10 +240,9 @@
sctp sctp
Build support for SCTP Build support for SCTP
shared no-shared
In addition to the usual static libraries, create shared Do not create shared libraries, only static ones. See "Note
libraries on platforms where it's supported. See "Note on on shared libraries" below.
shared libraries" below.
no-sock no-sock
Don't build support for socket BIOs Don't build support for socket BIOs
@ -638,15 +637,12 @@
Note on shared libraries Note on shared libraries
------------------------ ------------------------
Shared libraries have certain caveats. Binary backward compatibility For most systems the OpenSSL Configure script knows what is needed to
can't be guaranteed before OpenSSL version 1.0. The only reason to build shared libraries for libcrypto and libssl. On these systems
use them would be to conserve memory on systems where several programs the shared libraries will be created by default. This can be suppressed and
are using OpenSSL. 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"
For most systems, the OpenSSL Configure script knows what is needed to option will be forced and only static libraries will be created.
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.
Note on random number generation Note on random number generation
-------------------------------- --------------------------------

1
NEWS
View File

@ -7,6 +7,7 @@
Major changes between OpenSSL 1.0.2g and OpenSSL 1.1.0 [in pre-release] 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 support for "pipelining"
o Added the AFALG engine o Added the AFALG engine
o New threading API implemented o New threading API implemented