Re: [Proposal] Generate pkg-config for server module development

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Anders Åstrand <anders(at)449(dot)se>, Andreas Karlsson <andreas(at)proxel(dot)se>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Subject: Re: [Proposal] Generate pkg-config for server module development
Date: 2026-03-27 11:58:13
Message-ID: 1acb1b87-50e8-4bda-9642-36a9ad185e26@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2026-03-27 12:02:03 Re: Beautify read stream "per buffer data" APIs
Previous Message Etsuro Fujita 2026-03-27 11:41:29 Re: Options to control remote transactions’ access/deferrable modes in postgres_fdw