Re: Use Postgres as meson wrap subproject - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Use Postgres as meson wrap subproject
Date
Msg-id bf3f0fa9-546b-490d-b8b5-3c501c29c080@proxel.se
Whole thread Raw
In response to Use Postgres as meson wrap subproject  (Niyaz Hazigaleyev <hazigaleevniaz@gmail.com>)
Responses Re: Use Postgres as meson wrap subproject
List pgsql-hackers
On 1/4/26 8:32 PM, Niyaz Hazigaleyev wrote:
> You right Eliot Haisley more complete patch because he replaced all occurrences of @SOURCE_DIR@ but I also added
include_directoriesto dependency, so it will not fail to find headers which are included in libpq headers. So if I
mergemy patch with Eliot’s  it should be fine. I can send complete patch after it’s done.
 

Did you see that Tristan also just patched his own version which seems 
like it could potentially be even more complete?

https://www.postgresql.org/message-id/DFEOAWQP27I8.3LHIXYEFCXD25%40partin.io

> About meson wrap subproject. In my projects I really like to have fallback if there is no system lib available or
systemlib have not compatible version. Basically I use it as package manager for my C/C++ projects, I just put the link
togit into wrap file, provide dependency and that’s it, meson does all the work. Ideally everything in my project
shouldbe build from scratch without any prebuilt binaries, so I can cross-compile to any platform that I want and
build/packagingof project becomes much easier.
 

Thanks!

Andreas




pgsql-hackers by date:

Previous
From: Alastair Turner
Date:
Subject: Proposal - Enabling btree_gist by default
Next
From: Tom Lane
Date:
Subject: Re: Proposal - Enabling btree_gist by default