mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
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
This commit is contained in:
parent
04b7ff3cd3
commit
4ae03be547
|
|
@ -3472,6 +3472,13 @@ installed_targets = [
|
||||||
ecpg_targets,
|
ecpg_targets,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if oauth_flow_supported
|
||||||
|
installed_targets += [
|
||||||
|
libpq_oauth_so,
|
||||||
|
libpq_oauth_st,
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
# all targets that require building code
|
# all targets that require building code
|
||||||
all_built = [
|
all_built = [
|
||||||
installed_targets,
|
installed_targets,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user