diff options
author | David Carlier <devnexen@gmail.com> | 2020-12-19 11:07:09 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-20 11:04:50 +0000 |
commit | c3bd630df0c3630c66155fb8c4baf54810d24695 (patch) | |
tree | bb508cc22f4d94cb6e26a033f8961983a10c212f /Configurations/shared-info.pl | |
parent | c9466f38e0191aa86e0bd49267b0c4ef33e3a3d2 (diff) | |
download | openssl-new-c3bd630df0c3630c66155fb8c4baf54810d24695.tar.gz |
Adding a separated build settings for BSD flavors
to avoid inheriting Linux's linker flags (ie -Wl,-z,defs)
now targetting OpenBSD.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13393)
Diffstat (limited to 'Configurations/shared-info.pl')
-rw-r--r-- | Configurations/shared-info.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Configurations/shared-info.pl b/Configurations/shared-info.pl index edd16f4055..0bded76d89 100644 --- a/Configurations/shared-info.pl +++ b/Configurations/shared-info.pl @@ -40,6 +40,12 @@ my %shared_info; }; }, 'bsd-gcc-shared' => sub { return $shared_info{'linux-shared'}; }, + 'bsd-gcc-nodef-shared' => sub { + return { + %{$shared_info{'gnu-shared'}}, + shared_defflags => '-Wl,--version-script=', + }; + }, 'darwin-shared' => { module_ldflags => '-bundle', shared_ldflag => '-dynamiclib -current_version $(SHLIB_VERSION_NUMBER) -compatibility_version $(SHLIB_VERSION_NUMBER)', |