]> granicus.if.org Git - postgresql/commit
Make another try at using -Wl,--as-needed to suppress linking of unnecessary
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 May 2008 20:13:12 +0000 (20:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 18 May 2008 20:13:12 +0000 (20:13 +0000)
commit2dad10f467165ad87dace65ae9aa1cf19fae0867
treeca2318ae03e3b2118be17d578cab8f22b8de7773
parent07d08a8828cd31dd5911971ab768fe8d4ab793c7
Make another try at using -Wl,--as-needed to suppress linking of unnecessary
shared libraries.  We've tried this before and had problems with libreadline
not linking properly on some platforms, but that seems to be a libreadline
bug that may have been fixed by now.  In any case, it's early enough in the
8.4 devel cycle that we can afford to have some transient breakage while
we work out any portability problems.

On Darwin, we try -Wl,-dead_strip_dylibs, which seems to be the equivalent
incantation there.
config/c-compiler.m4
configure
configure.in