pgsql: meson: libpq: Revise static / shared library setup

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: meson: libpq: Revise static / shared library setup
Дата
Msg-id E1og7sv-0012F8-9Z@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
meson: libpq: Revise static / shared library setup

Improvements:
- we don't need -DFRONTEND for libpq anymore since 1d77afefbd1
- the .pc file contents for a static libpq were wrong (referencing
  {pgport, common}_shlib)
- incidentally fixes meson not supporting link_whole on AIX yet
- added explanatory comments

Previously I tried to avoid building libpq's sources twice, once for the
static and once for the shared library. We could still do so, but it's not
clear that it's worth the complication.

Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/089c0bc7a760ea8f654a054dc8363e7f0baf79a2

Modified Files
--------------
meson.build                      | 23 ++++++++++++++++++-----
src/interfaces/libpq/meson.build | 28 ++++++++++++++++++----------
2 files changed, 36 insertions(+), 15 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix whitespace
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: tests: Rename conflicting role names