Add documentation about the multilib postfix and libdir
authorTomas Mraz <tomas@openssl.org>
Tue, 10 Aug 2021 15:07:35 +0000 (17:07 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 13 Aug 2021 08:45:44 +0000 (10:45 +0200)
Fixes #16244

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/16281)

CHANGES.md
INSTALL.md

index 5991eb54655603ddc77c1cf2e229d642f130e4b0..bcb1601d26430ab29ebb70cb93c7c9afb16418cc 100644 (file)
@@ -30,6 +30,16 @@ breaking changes, and mappings for the large list of deprecated functions.
 
 ### Changes between 1.1.1 and 3.0 [xx XXX xxxx]
 
+ * On build targets where the multilib postfix is set in the build
+   configuration the libdir directory was changing based on whether
+   the lib directory with the multilib postfix exists on the system
+   or not. This unpredictable behavior was removed and eventual
+   multilib postfix is now always added to the default libdir. Use
+   `--libdir=lib` to override the libdir if adding the postfix is
+   undesirable.
+
+   *Jan Lána*
+
  * The ERR_GET_FUNC() function was removed.  With the loss of meaningful
    function codes, this function can only cause problems for calling
    applications.
index 202a66885e49f570c7d392ac90bbbd4da27f5b26..c717dfcdf047c916720526f2aefc6126cbb81be9 100644 (file)
@@ -350,9 +350,13 @@ Directories
 
 The name of the directory under the top of the installation directory tree
 (see the `--prefix` option) where libraries will be installed.  By default
-this is `lib/`. Note that on Windows only static libraries (`*.lib`) will
+this is `lib`. Note that on Windows only static libraries (`*.lib`) will
 be stored in this location. Shared libraries (`*.dll`) will always be
-installed to the `bin/` directory.
+installed to the `bin` directory.
+
+Some build targets have a multilib postfix set in the build configuration.
+For these targets the default libdir is `lib<multilib-postfix>`. Please use
+`--libdir=lib` to override the libdir if adding the postfix is undesirable.
 
 ### openssldir