pgsql: meson: libpq: Revise static / shared library setup - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: meson: libpq: Revise static / shared library setup
Date
Msg-id E1og7sv-0012F8-9Z@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix whitespace
Next
From: Andres Freund
Date:
Subject: pgsql: tests: Rename conflicting role names