Skip to content

Commit 4ae03be

Browse files
committed
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
1 parent 04b7ff3 commit 4ae03be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

meson.build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3472,6 +3472,13 @@ installed_targets = [
34723472
ecpg_targets,
34733473
]
34743474

3475+
if oauth_flow_supported
3476+
installed_targets += [
3477+
libpq_oauth_so,
3478+
libpq_oauth_st,
3479+
]
3480+
endif
3481+
34753482
# all targets that require building code
34763483
all_built = [
34773484
installed_targets,

0 commit comments

Comments
 (0)