diff options
author | Richard Levitte <levitte@openssl.org> | 2019-05-18 16:24:21 -0700 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-05-20 05:18:01 +0200 |
commit | d3136af3c3905a730bd8fb44158aab36a2549d9b (patch) | |
tree | c335f92d946b266fe58a3e3bb3a2b971757ae862 /Configurations/platform | |
parent | e9f148c9356b18995298f37bafbf1836a3fce078 (diff) |
Configure: let platform->dsoext() default with platform->shlibextsimple()
We still use '.so' as a last resort...
Fixes #8950
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8951)
Diffstat (limited to 'Configurations/platform')
-rw-r--r-- | Configurations/platform/Unix.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Configurations/platform/Unix.pm b/Configurations/platform/Unix.pm index ca8d6bb65b..bb93d38f8c 100644 --- a/Configurations/platform/Unix.pm +++ b/Configurations/platform/Unix.pm @@ -13,7 +13,8 @@ require platform::BASE; use configdata; sub binext { $target{exe_extension} || '' } -sub dsoext { $target{dso_extension} || '.so' } +sub dsoext { $target{dso_extension} || platform->shlibextsimple() + || '.so' } # Because these are also used in scripts and not just Makefile, we must # convert $(SHLIB_VERSION_NUMBER) to the actual number. sub shlibext { (my $x = $target{shared_extension} |