pgsql: meson: ecpg: Split definition of static and shared libraries

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: meson: ecpg: Split definition of static and shared libraries
Дата
Msg-id E1og7sv-0012FB-9x@gemulon.postgresql.org
обсуждение исходный текст
Список 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.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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix whitespace
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: tests: Rename conflicting role names