From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: meson: ecpg: Split definition of static and shared libraries |
Date: | 2022-10-05 17:08:41 |
Message-ID: | E1og7sv-0012FB-9x@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)eisentraut(at)enterprisedb(dot)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(-)
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 |