Skip to content

Commit c1b3846

Browse files
Matthias KraftMatthias Kraft
authored andcommitted
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 openssl#8282)
1 parent 73e62d4 commit c1b3846

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Configurations/10-main.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ my %targets = (
10981098
dso_scheme => "dlfcn",
10991099
shared_target => "aix",
11001100
module_ldflags => "-Wl,-G,-bsymbolic,-bexpall",
1101-
shared_ldflag => "-Wl,-G,-bsymbolic",
1101+
shared_ldflag => "-Wl,-G,-bsymbolic,-bnoentry",
11021102
shared_defflag => "-Wl,-bE:",
11031103
perl_platform => 'AIX',
11041104
},

0 commit comments

Comments
 (0)