diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2022-03-31 10:32:29 -0600 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-04-05 09:44:38 +0200 |
commit | b83c0a900f9303e0c9fd084829b791386d7c57ce (patch) | |
tree | 6029ec0eb070d4ef5ff106a407f744906f2e1692 /Configurations | |
parent | f593f32eede30ead69e0a16e47a564a664171283 (diff) | |
download | openssl-new-b83c0a900f9303e0c9fd084829b791386d7c57ce.tar.gz |
Fix AIX build when no-shared is passed to Configure.
AIX shared libs are also .a files so the AIX platform staticname()
appends a '_a' to the name to avoid a collision. However, this
must not be done when no-shared is passed to Configure or the
binaries that link with -lcrypto and -lssl be unable to link as
those libraries won't exist without the '_a' suffix.
CLA: trivial
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18006)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/platform/AIX.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/platform/AIX.pm b/Configurations/platform/AIX.pm index e2409057cd..c6c1437f96 100644 --- a/Configurations/platform/AIX.pm +++ b/Configurations/platform/AIX.pm @@ -25,5 +25,5 @@ sub staticname { return $in_libname if $unified_info{attributes}->{libraries}->{$_[1]}->{noinst}; - return platform::BASE->staticname($_[1]) . '_a'; + return platform::BASE->staticname($_[1]) . ($disabled{shared} ? '' : '_a'); } |