From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: meson: libpq: Revise static / shared library setup |
Date: | 2022-10-05 17:08:41 |
Message-ID: | E1og7sv-0012F8-9Z@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)eisentraut(at)enterprisedb(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-10-05 18:06:23 | pgsql: tests: Restrict pg_locks queries in advisory_locks.sql to curren |
Previous Message | Peter Eisentraut | 2022-10-05 13:07:08 | pgsql: Fix whitespace |