oauth: Explicitly depend on -pthread
authorJacob Champion <jchampion@postgresql.org>
Tue, 26 Aug 2025 21:16:31 +0000 (14:16 -0700)
committerJacob Champion <jchampion@postgresql.org>
Tue, 26 Aug 2025 21:16:31 +0000 (14:16 -0700)
commit85b380162cd6c66752d1dd020a2d9700da0903c9
treeb1709ebe3d338719b178a26ee8dfa23471f59328
parente567e22290544c57293f8e5a913292dacd3bcd1a
oauth: Explicitly depend on -pthread

Followup to 4e1e41733 and 52ecd05ae. oauth-utils.c uses
pthread_sigmask(), requiring -pthread on Debian bullseye at minimum.

Reported-by: Christoph Berg <myon@debian.org>
Tested-by: Christoph Berg <myon@debian.org>
Discussion: https://postgr.es/m/aK4PZgC0wuwQ5xSK%40msg.df7cb.de
Backpatch-through: 18
meson.build
src/interfaces/libpq-oauth/Makefile