Subject: Re: Use Postgres as meson wrap subproject

From: Andreas Karlsson <[email-masked]>
Date: Sat, 3 Jan 2026 02:54:59 +0100

On 12/23/25 4:21 PM, Niyaz Hazigaleyev wrote:
> So to use Postgres as wrap subproject u need to change @SOURCE_DIR@ to meson.project_source_root() and check include_directories for all dependencies. Is there any plans to support it?

Thanks for the patch!

There was an earlier patch[1] for this from Elliot Haisley which looks 
more complete that Andres seemed a bit interested in but as far as I 
know no progress has been made on it recently. You could help out by 
testing it out and reviewing it.

Out of curiosity since I am quite new to Meson: what is your personal 
use case for wrap subprojects?

References

1. 
https://www.postgresql.org/message-id/PH0PR84MB1954C7D61C4882403B8258708605A%40PH0PR84MB1954.NAMPRD84.PROD.OUTLOOK.COM

Andreas