oauth: Explicitly depend on -pthread

Jacob Champion <jchampion@postgresql.org>

Commit: bf37808ef61cbd017179b3d92ad606bf31b14b80
Author: Jacob Champion <jchampion@postgresql.org>
Date: 2025-08-26T21:28:05Z
Releases: 18.0
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

Files

PathChange+/−
meson.build modified +1 −0
src/interfaces/libpq-oauth/Makefile modified +2 −1

Discussion