diff options
author | Richard Levitte <levitte@openssl.org> | 2018-10-23 15:09:57 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-01-21 19:31:32 +0100 |
commit | 9dd4ed28eb5972f62723985429b57f42eefda124 (patch) | |
tree | 6c5d9d1cba152032d08725e885a532f82332beae /Configurations/00-base-templates.conf | |
parent | c162a8c344f12b2e0e788920358f51181ddf168f (diff) |
Rework building: Unix changes to handle extensions and product names
Add platform::Unix, which is a generic Unix module to support product
name and extensions functionlity. However, this isn't quite enough,
as mingw and Cygwin builds are done using the same templates, but
since shared libraries work as on Windows and are named accordingly,
platform::mingw and platform::Cygwin were also added to provide the
necessary tweaks.
This reworks Configurations/unix-Makefile.tmpl to work out product
names in platform::Unix et al terms. In this one, we currently do
care about the *_extension config attributes, and the modules adapt
accordingly where it matters.
This change also affected crypto/include/internal/dso_conf.h.in, since
the DSO extension is meant to be the same as the short shared library
extension, which isn't '.so' everywhere.
'shared_extension' attributes that had the value
'.so.\$(SHLIB_VERSION_NUMBER)' are removed, platform::Unix provides
an extension where the shared library version number is hard-coded
instead.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7473)
Diffstat (limited to 'Configurations/00-base-templates.conf')
-rw-r--r-- | Configurations/00-base-templates.conf | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Configurations/00-base-templates.conf b/Configurations/00-base-templates.conf index 05672208ab..eb9feae946 100644 --- a/Configurations/00-base-templates.conf +++ b/Configurations/00-base-templates.conf @@ -42,7 +42,6 @@ my %targets=( shared_defines => [], shared_ldflag => "", shared_rcflag => "", - shared_extension => "", #### Defaults for the benefit of the config targets who don't inherit #### a BASE and assume Unix defaults @@ -102,10 +101,10 @@ my %targets=( ? "ranlib" : "" }, RC => "windres", - shared_extension => ".so", - build_scheme => [ "unified", "unix" ], build_file => "Makefile", + + perl_platform => 'Unix', }, BASE_Windows => { |