Skip to content

Commit 3db6821

Browse files
committed
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
1 parent 81eaaa2 commit 3db6821

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/interfaces/libpq-oauth/meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ libpq_oauth_st = static_library('libpq-oauth',
2525
libpq_oauth_sources,
2626
include_directories: [libpq_oauth_inc, postgres_inc],
2727
c_pch: pch_postgres_fe_h,
28-
dependencies: [frontend_stlib_code, libpq_oauth_deps],
28+
dependencies: [
29+
frontend_stlib_code,
30+
libpq_oauth_deps,
31+
ssl, # libpq-int.h includes OpenSSL headers
32+
],
2933
kwargs: default_lib_args,
3034
)
3135

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy