meson: Fix install-quiet after clean
authorJacob Champion <jchampion@postgresql.org>
Thu, 7 Aug 2025 22:31:36 +0000 (15:31 -0700)
committerJacob Champion <jchampion@postgresql.org>
Thu, 7 Aug 2025 22:31:36 +0000 (15:31 -0700)
commita9ffb35274fb17282dd2f0035172720ae4a87589
treeffd7b763a4013890111fd7ab872165deda4e8bf9
parent31c09ef4563612467b31149713896948e5532684
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
meson.build