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

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

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

От:
Andres Freund <andres@anarazel.de>
Дата:
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 

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(-)

FAQ