Fix pkg-config files for static linking

Peter Eisentraut <peter@eisentraut.org>

Commit: 9f9ae019d194d012c74084cec3722ba2d67af8eb
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2021-09-06T07:43:05Z
Releases: 13.5
Fix pkg-config files for static linking

Since ea53100d5 (PostgreSQL 12), the shipped pkg-config files have
been broken for statically linking libpq because libpgcommon and
libpgport are missing.  This patch adds those two missing private
dependencies (in a non-hardcoded way).

Reported-by: Filip Gospodinov <f@gospodinov.ch>
Discussion: https://www.postgresql.org/message-id/flat/c7108bde-e051-11d5-a234-99beec01ce2a@gospodinov.ch

Files

PathChange+/−
src/Makefile.shlib modified +1 −1

Discussion