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

Поиск
Список
Период
Сортировка
От Anders Åstrand
Тема Re: [Proposal] Generate pkg-config for server module development
Дата
Msg-id 545b87a2-7807-4b49-ba85-46211658d483@449.com
обсуждение исходный текст
Ответ на Re: [Proposal] Generate pkg-config for server module development  (Andreas Karlsson <andreas@proxel.se>)
Список pgsql-hackers
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
>
> Andreas
>
-- 
Anders Åstrand
Percona




В списке pgsql-hackers по дате отправления: