diff options
author | Matthias Kraft <Matthias.Kraft@softwareag.com> | 2019-02-19 13:22:35 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-02-19 16:36:42 +0100 |
commit | 663dc8c133e102950af9ad907fc19e123aabdc76 (patch) | |
tree | fc56b54d96f3c369180ecff4ecf718fa582e6a82 /Configurations | |
parent | 15c1e0a7cb27dd605716e6a65bc17590caabcfb3 (diff) |
Fix reference to symbol 'main'.
The AIX binder needs to be instructed that the output will have no entry
point (see AIX' ld manual: -e in the Flags section; autoexp and noentry
in the Binder section).
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8282)
(cherry picked from commit c1b3846242fc1a7791beca42f548c325c35e269b)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/10-main.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 28b63be1f4..930f2d3c92 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1112,7 +1112,7 @@ my %targets = ( dso_scheme => "dlfcn", shared_target => "self", module_ldflags => "-Wl,-G,-bsymbolic,-bexpall", - shared_ldflag => "-Wl,-G,-bsymbolic", + shared_ldflag => "-Wl,-G,-bsymbolic,-bnoentry", shared_defflag => "-Wl,-bE:", shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)", dso_extension => ".so", |