Fix pkg-config files for static linking
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 6 Sep 2021 07:41:03 +0000 (09:41 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 6 Sep 2021 07:43:05 +0000 (09:43 +0200)
commit9f9ae019d194d012c74084cec3722ba2d67af8eb
tree430460b78c98e17fcd6b96ead7dbdd977ec80cf0
parent2c0dd669c3c909484c24b40a797bd99b352c6f0b
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
src/Makefile.shlib