Re: [PoC] Federated Authn/z with OAUTHBEARER - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: [PoC] Federated Authn/z with OAUTHBEARER
Date
Msg-id aBTgjDfrdOZmaPgv@nathan
Whole thread Raw
In response to Re: [PoC] Federated Authn/z with OAUTHBEARER  (Jacob Champion <jacob.champion@enterprisedb.com>)
Responses Re: [PoC] Federated Authn/z with OAUTHBEARER
List pgsql-hackers
After commit b0635bf, I'm seeing the following meson build failures on
macOS:

    In file included from ../postgresql/src/interfaces/libpq-oauth/oauth-curl.c:51:
    ../postgresql/src/interfaces/libpq/libpq-int.h:70:10: fatal error: 'openssl/ssl.h' file not found
       70 | #include <openssl/ssl.h>
          |          ^~~~~~~~~~~~~~~
    1 error generated.

The following patch seems to resolve it.  I'm curious if commit 4ea1254
might apply to meson, too, but FWIW I haven't noticed any related failures
on my machine.

diff --git a/meson.build b/meson.build
index 29d46c8ad01..19ad03042d3 100644
--- a/meson.build
+++ b/meson.build
@@ -3295,6 +3295,7 @@ libpq_deps += [

 libpq_oauth_deps += [
   libcurl,
+  ssl,
 ]

 subdir('src/interfaces/libpq')

-- 
nathan



pgsql-hackers by date:

Previous
From: Matheus Alcantara
Date:
Subject: Re: extension_control_path and "directory"
Next
From: Jacob Champion
Date:
Subject: Re: PG 18 release notes draft committed