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