aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacob Champion <jchampion@postgresql.org>2025-05-02 10:45:12 -0700
committerJacob Champion <jchampion@postgresql.org>2025-05-02 10:45:12 -0700
commit3db68212a39351804b2b4fb70a05cab76be32ce7 (patch)
tree5ca436abe70a4cdf26b104ce591f446cacb17518 /src
parent81eaaa2c41dd29b06edf8b234753debbd1a581d5 (diff)
downloadpostgresql-3db68212a39351804b2b4fb70a05cab76be32ce7.tar.gz
postgresql-3db68212a39351804b2b4fb70a05cab76be32ce7.zip
oauth: Correct SSL dependency for libpq-oauth.a
libpq-oauth.a includes libpq-int.h, which includes OpenSSL headers. The Autoconf side picks up the necessary include directories via CPPFLAGS, but Meson needs the dependency to be made explicit. Reported-by: Nathan Bossart <nathandbossart@gmail.com> Tested-by: Nathan Bossart <nathandbossart@gmail.com> Tested-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/aBTgjDfrdOZmaPgv%40nathan
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq-oauth/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/libpq-oauth/meson.build b/src/interfaces/libpq-oauth/meson.build
index 9e7301a7f63..df064c59a40 100644
--- a/src/interfaces/libpq-oauth/meson.build
+++ b/src/interfaces/libpq-oauth/meson.build
@@ -25,7 +25,11 @@ libpq_oauth_st = static_library('libpq-oauth',
libpq_oauth_sources,
include_directories: [libpq_oauth_inc, postgres_inc],
c_pch: pch_postgres_fe_h,
- dependencies: [frontend_stlib_code, libpq_oauth_deps],
+ dependencies: [
+ frontend_stlib_code,
+ libpq_oauth_deps,
+ ssl, # libpq-int.h includes OpenSSL headers
+ ],
kwargs: default_lib_args,
)