Configure: link AIX modules correctly
authorRichard Levitte <levitte@openssl.org>
Mon, 27 May 2019 12:16:47 +0000 (14:16 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 28 May 2019 19:00:05 +0000 (21:00 +0200)
Use -bnoentry, not -bexpall

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9012)

(cherry picked from commit f3d6a3644679d37e791408ff3750d0baa76d1206)

Configurations/10-main.conf

index 930f2d3c920d7f44b9663da22b0e2cb067239f77..e311a5dcb694dd0d417e5b8776ee20581acf6f88 100644 (file)
@@ -1111,7 +1111,7 @@ my %targets = (
         thread_scheme    => "pthreads",
         dso_scheme       => "dlfcn",
         shared_target    => "self",
-        module_ldflags   => "-Wl,-G,-bsymbolic,-bexpall",
+        module_ldflags   => "-Wl,-G,-bsymbolic,-bnoentry",
         shared_ldflag    => "-Wl,-G,-bsymbolic,-bnoentry",
         shared_defflag   => "-Wl,-bE:",
         shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",