Re: [PATCH] src/interfaces/libpq/Makefile: fix pkg-config without openssl

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-04-01T15:17:44Z
Lists: pgsql-hackers
On 31.03.22 18:37, Fabrice Fontaine wrote:
> Do not add openssl dependencies to libpq pkg-config file if openssl is
> disabled to avoid the following build failure with libdbi-drivers raised
> since commit beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb:
> 
> configure: error: Package requirements (libpq) were not met:
> 
> Package 'libssl', required by 'libpq', not found
> Package 'libcrypto', required by 'libpq', not found
> 
> Fixes:
>   -http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e
> 
> Signed-off-by: Fabrice Fontaine<fontaine.fabrice@gmail.com>

Fixed, thanks.




Commits

  1. libpq: Fix pkg-config without OpenSSL

  2. Add libpq's openssl dependencies to pkg-config file