Re: Fix pkg-config file for static linking

2021-09-02 Thread Filip Gospodinov
On 02.09.21 13:07, Peter Eisentraut wrote: On 20.07.21 22:04, Filip Gospodinov wrote: Anyway, this issue is orthogonal to my original patch. I'm proposing to hardcode -lpgcommon and -lpgport in Libs.private instead. Patch is attached. Makes sense.  I think we could do it without hardcoding

Re: Fix pkg-config file for static linking

2021-07-20 Thread Filip Gospodinov
On 06.07.21 15:13, Peter Eisentraut wrote: This doesn't work. This patch adds libpgcommon and libpgport to Requires.private.  But they are not pkg-config names but library names, so they should be added to Libs.private. Then, I must admit that I have misunderstood this patch at first

Fix pkg-config file for static linking

2021-06-21 Thread Filip Gospodinov
Since https://github.com/postgres/postgres/commit/ea53100d5 (or Postgres 12.0) the shipped pkg-config file is broken for statically linking libpq because libpgcommon and libpgport are missing. This patch adds those two missing private dependencies. diff --git a/src/interfaces/libpq/Makefile