Обсуждение: pgsql: Make another try at using -Wl,--as-needed to suppress linking of

Поиск
Список
Период
Сортировка

pgsql: Make another try at using -Wl,--as-needed to suppress linking of

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/config:
        c-compiler.m4 (r1.16 -> r1.17)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/config/c-compiler.m4?r1=1.16&r2=1.17)
    pgsql:
        configure (r1.594 -> r1.595)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.594&r2=1.595)
        configure.in (r1.560 -> r1.561)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.560&r2=1.561)