Skip to content

Commit a9ffb35

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 31c09ef commit a9ffb35

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
@@ -3467,6 +3467,13 @@ installed_targets = [
34673467
ecpg_targets,
34683468
]
34693469

3470+
if oauth_flow_supported
3471+
installed_targets += [
3472+
libpq_oauth_so,
3473+
libpq_oauth_st,
3474+
]
3475+
endif
3476+
34703477
# all targets that require building code
34713478
all_built = [
34723479
installed_targets,

0 commit comments

Comments
 (0)