From c1b3846242fc1a7791beca42f548c325c35e269b Mon Sep 17 00:00:00 2001 From: Matthias Kraft Date: Tue, 19 Feb 2019 13:22:35 +0100 Subject: [PATCH] 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 Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8282) --- Configurations/10-main.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 1e49118486..8b758a02a7 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1098,7 +1098,7 @@ my %targets = ( dso_scheme => "dlfcn", shared_target => "aix", module_ldflags => "-Wl,-G,-bsymbolic,-bexpall", - shared_ldflag => "-Wl,-G,-bsymbolic", + shared_ldflag => "-Wl,-G,-bsymbolic,-bnoentry", shared_defflag => "-Wl,-bE:", perl_platform => 'AIX', }, -- 2.25.1