Skip to content

Commit

Permalink
Configurations/10-main.conf: always pass -bsrv4 to AIX linker.
Browse files Browse the repository at this point in the history
This makes AIX build procedure behave more like e.g. Solaris. Most
notably this makes it possible to pass -Wl,-R,'$(LIBRPATH)' at config
time to embed installation destination as library search path into
openssl binary. This doesn't imply that other applications have to be
linked with -bsvr4, they are free to choose whatever appropriate for
given circumstances.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from openssl/openssl#6487)
  • Loading branch information
Andy Polyakov committed Jun 22, 2018
1 parent cff89b1 commit 8f29569
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Configurations/10-main.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1110,12 +1110,12 @@ my %targets = (
template => 1,
sys_id => "AIX",
lib_cppflags => "-DB_ENDIAN",
lflags => "-Wl,-bsvr4",
thread_scheme => "pthreads",
dso_scheme => "dlfcn",
shared_target => "self",
bin_lflags => shared("-Wl,-bsvr4"),
module_ldflags => "-Wl,-G,-bsymbolic,-bexpall,-bnolibpath",
shared_ldflag => "-Wl,-G,-bsymbolic,-bnolibpath",
module_ldflags => "-Wl,-G,-bsymbolic,-bexpall",
shared_ldflag => "-Wl,-G,-bsymbolic",
shared_defflag => "-Wl,-bE:",
shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
dso_extension => ".so",
Expand Down

0 comments on commit 8f29569

Please sign in to comment.