meson: ecpg: Split definition of static and shared libraries
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/compatlib/meson.build | modified | +30 −9 |
| src/interfaces/ecpg/ecpglib/meson.build | modified | +25 −8 |
| src/interfaces/ecpg/pgtypeslib/meson.build | modified | +22 −7 |
| src/interfaces/ecpg/test/meson.build | modified | +1 −1 |
Discussion
- [RFC] building postgres with meson 392 messages · 2021-10-12 → 2023-06-12