Re: [Proposal] Generate pkg-config for server module development - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [Proposal] Generate pkg-config for server module development
Date
Msg-id 1acb1b87-50e8-4bda-9642-36a9ad185e26@eisentraut.org
Whole thread Raw
In response to Re: [Proposal] Generate pkg-config for server module development  ("Anders Åstrand" <anders@449.se>)
List pgsql-hackers
On 05.01.26 10:41, Anders Åstrand wrote:
> 
> On 2026-01-03 01:24, Andreas Karlsson wrote:
>> On 12/17/25 3:17 PM, Anders Åstrand wrote:
>>> I'm not entirely sure about what parameters we should include in the 
>>> pkg-config
>>> file, but what I have in the attached patch is inspired by PGXS and the
>>> pkg-config files we already generate for shared libraries.
>>
>> Have you looked at Nazir's work in progress for generating pkg-config 
>> files in Meson[1]? Maybe he has some ideas for what parameters to 
>> include. In general I think the goal should be to include the stuff 
>> which is in pg_conifg.
> 
> No I had not! Thank you for pointing me to that thread, it didn't seem 
> related when I was looking for threads about this. That patch seems much 
> more complete and I should probably just port it to make and include 
> both patches here.
> 
> It's reassuring that that patch also add it to backends build file, I 
> was very unsure about that.
> 
>> Will look at the actual patch later.
>>
>> References
>>
>> 1. https://www.postgresql.org/message-id/ 
>> CAN55FZ138OBEehyxD1FKySMxKFteqf_VOR8LBkz-055YGU12rg%40mail.gmail.com

I'm changing this CF entry to "Withdrawn".  Let's collaborate on the 
other thread.




pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Options to control remote transactions’ access/deferrable modes in postgres_fdw
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Beautify read stream "per buffer data" APIs