Re: [Patch] Add missing libraries to Libs.private of libpq.pc

2020-09-10 Thread Peter Eisentraut
On 2020-09-04 22:07, Peter Eisentraut wrote: On 2020-07-10 21:47, Peter Eisentraut wrote: On 2020-04-08 11:38, Sandro Mani wrote: The following patch, which we added to build mingw-postgresql on Fedora, adds some missing libraries to Libs.private of libpq.pc, discovered when attempting to stati

Re: [Patch] Add missing libraries to Libs.private of libpq.pc

2020-09-04 Thread Peter Eisentraut
On 2020-07-10 21:47, Peter Eisentraut wrote: On 2020-04-08 11:38, Sandro Mani wrote: The following patch, which we added to build mingw-postgresql on Fedora, adds some missing libraries to Libs.private of libpq.pc, discovered when attempting to statically link with libpq: -lz: is required by -l

Re: [Patch] Add missing libraries to Libs.private of libpq.pc

2020-07-10 Thread Peter Eisentraut
On 2020-04-08 11:38, Sandro Mani wrote: The following patch, which we added to build mingw-postgresql on Fedora, adds some missing libraries to Libs.private of libpq.pc, discovered when attempting to statically link with libpq: -lz: is required by -lcrypto I think the correct fix for that woul

Re: [Patch] Add missing libraries to Libs.private of libpq.pc

2020-07-01 Thread Tom Lane
Sandro Mani writes: > The following patch, which we added to build mingw-postgresql on Fedora, > adds some missing libraries to Libs.private of libpq.pc, discovered when > attempting to statically link with libpq: TBH, I think we should just reject this patch. We do not encourage or support st

[Patch] Add missing libraries to Libs.private of libpq.pc

2020-04-08 Thread Sandro Mani
Hello The following patch, which we added to build mingw-postgresql on Fedora, adds some missing libraries to Libs.private of libpq.pc, discovered when attempting to statically link with libpq: -lz: is required by -lcrypto -liconv: is required by -lintl (though possibly depends on whether ge