summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Champion <jchampion@postgresql.org>2025-08-07 15:31:28 -0700
committerJacob Champion <jchampion@postgresql.org>2025-08-07 15:31:28 -0700
commit4ae03be5473417ba5850bb0c1f0e60c1a0998dc9 (patch)
treec0b7e32a84705373faa2e3208e8756155f9246b9
parent04b7ff3cd33c0b9574eed3b662c16d810a903bd4 (diff)
meson: Fix install-quiet after clean
libpq-oauth was missing from the installed_targets list, so $ ninja clean && ninja install-quiet failed with the error message ERROR: File 'src/interfaces/libpq-oauth/libpq-oauth.a' could not be found It seems a little odd to have to tell Meson what's missing, since it clearly knows how to build that file during regular installation. But the "quiet" variant we've created must use --no-rebuild, to avoid spawning concurrent ninja processes that would step on each other. Reported-by: Andres Freund <andres@anarazel.de> Backpatch-through: 18 Discussion: https://postgr.es/m/hbpqdwxkfnqijaxzgdpvdtp57s7gwxa5d6sbxswovjrournlk6%404jnb2gzan4em
-rw-r--r--meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index ca423dc8e12..431fe9ccc9b 100644
--- a/meson.build
+++ b/meson.build
@@ -3472,6 +3472,13 @@ installed_targets = [
ecpg_targets,
]
+if oauth_flow_supported
+ installed_targets += [
+ libpq_oauth_so,
+ libpq_oauth_st,
+ ]
+endif
+
# all targets that require building code
all_built = [
installed_targets,