pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: meson: ecpg: Split definition of static and shared libraries
Date: Wed, 05 Oct 2022 17:08:41 +0000
Message-ID: <E1og7sv-0012FB-9x@gemulon.postgresql.org> (raw)

meson: ecpg: Split definition of static and shared libraries

Required for correct resource file generation, as the resource files should
only be added to the shared library.

This also fixes a bunch of issues in the .pc files.

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

Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/20220927011951.j3h4o7n6bhf7dwau@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a1261cd16f07f6db12a54b94d9e36175198951b4

Modified Files
--------------
src/interfaces/ecpg/compatlib/meson.build  | 39 +++++++++++++++++++++++-------
src/interfaces/ecpg/ecpglib/meson.build    | 33 +++++++++++++++++++------
src/interfaces/ecpg/pgtypeslib/meson.build | 29 ++++++++++++++++------
src/interfaces/ecpg/test/meson.build       |  2 +-
4 files changed, 78 insertions(+), 25 deletions(-)



Message-ID: <E1og7sv-0012FB-9x@gemulon.postgresql.org>
Permalink:  ../E1og7sv-0012FB-9x@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1og7sv-0012FB-9x@gemulon.postgresql.org

 · 

reply

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: ecpg: Split definition of static and shared libraries
  In-Reply-To: <E1og7sv-0012FB-9x@gemulon.postgresql.org>
  References: <E1og7sv-0012FB-9x@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