From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: meson: libpq: Revise static / shared library setup
Date: Wed, 05 Oct 2022 17:08:41 +0000
Message-ID: <E1og7sv-0012F8-9Z@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: meson: libpq: Revise static / shared library setup
In-Reply-To: <E1og7sv-0012F8-9Z@gemulon.postgresql.org>
References: <E1og7sv-0012F8-9Z@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox