Re: pgsql/src Makefile.shlib

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql/src Makefile.shlib
Дата
Msg-id 28273.984418762@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql/src Makefile.shlib  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pgsql/src Makefile.shlib  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-committers
Peter Eisentraut <peter_e@gmx.net> writes:
> You probably want to define this in Makefile.hpux (compare to
> Makefile.linux for example), unless you want to link *all* shared
> libraries this way.

I tried this and realized that it does not work unless I make
    shlib_symbolic = -Bsymbolic
rather than
    shlib_symbolic = -Wl,-Bsymbolic
as is done on all the other platforms that define this symbol.
Reason: we build shlibs by invoking the linker directly, not
via the compiler, on HPUX.

AFAICT, our practice for the other platforms that invoke the linker
directly is to include options directly into the LINK.shared macro;
see for example the *bsd and sunos4 entries in Makefile.shlib.
These examples are why I added -Bsymbolic to HPUX's LINK.shared in the
first place, and I'm now inclined to leave it that way.  Comments?

            regards, tom lane

В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Mount
Дата:
Сообщение: Re: pgsql/ /build.xml ontrib/retep/build.xml oc/sr ...
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql/src/backend/commands trigger.c