meson: Refactor libpq targets variables

Peter Eisentraut <peter@eisentraut.org>

Commit: 4bfbbeb679c09c28813d4545bb1f764c3041d475
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-02-23T09:37:38Z
meson: Refactor libpq targets variables

Some of the knowledge of the libpq targets was spread around between
the top-level meson.build and src/interfaces/libpq*.  This change
organizes it more like other targets by having a libpq_targets
variable that different subdirectories can add to.

Discussion: https://www.postgresql.org/message-id/flat/e8aa97db-872b-4087-b073-f296baae948d%40eisentraut.org

Files

PathChange+/−
meson.build modified +3 −9
src/interfaces/libpq/meson.build modified +2 −0
src/interfaces/libpq-oauth/meson.build modified +2 −0

Discussion