Re: [Patch] Add missing libraries to Libs.private of libpq.pc - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [Patch] Add missing libraries to Libs.private of libpq.pc
Date
Msg-id 1c12e077-c7c3-7a84-4aba-b6c808d83fb8@2ndquadrant.com
Whole thread Raw
In response to Re: [Patch] Add missing libraries to Libs.private of libpq.pc  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [Patch] Add missing libraries to Libs.private of libpq.pc  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
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 -lcrypto
> 
> I think the correct fix for that would be to add libssl to libpq's
> Requires.private.

For that, I propose the attached patch.

>> -liconv: is required by -lintl (though possibly depends on whether
>> gettext was compiled with iconv support)

I think the solution here would be to have gettext provide a pkg-config 
file.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Juan José Santamaría Flecha
Date:
Subject: Re: A micro-optimisation for walkdir()
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #16419: wrong parsing BC year in to_date() function