Use -Bsymbolic for shared libraries on HP-UX and Solaris.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Sep 2018 02:22:12 +0000 (22:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Sep 2018 02:22:12 +0000 (22:22 -0400)
commit4fa3741d1cfb3898c3ff7b01fa873383108e1fe3
treeabd343b1bcedb26e24f55725e951ba517a86c058
parent14ea36520389dbb1b48524223cf09389154a0f2e
Use -Bsymbolic for shared libraries on HP-UX and Solaris.

These platforms are also subject to the mis-linking problem addressed
in commit e3d77ea6b.  It's not clear whether we could solve it with
a solution equivalent to GNU ld's version scripts, but -Bsymbolic
appears to fix it, so let's use that.

Like the previous commit, back-patch as far as v10.

Discussion: https://postgr.es/m/153626613985.23143.4743626885618266803@wrigleys.postgresql.org
src/Makefile.shlib