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

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Anders Åstrand <anders(at)449(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-01-03 00:24:56
Message-ID: 46f07376-41f3-490c-ab7a-1eaaf3da3c83@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Will look at the actual patch later.

References

1.
https://www.postgresql.org/message-id/CAN55FZ138OBEehyxD1FKySMxKFteqf_VOR8LBkz-055YGU12rg%40mail.gmail.com

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2026-01-03 00:31:51 Re: Exit walsender before confirming remote flush in logical replication
Previous Message Tom Lane 2026-01-03 00:02:27 Re: Parallelizing startup with many databases