Re: meson's in-tree libpq header search order vs -Dextra_include_dirs

Tristan Partin <tristan@partin.io>

From: "Tristan Partin" <tristan@partin.io>
To: "Thomas Munro" <thomas.munro@gmail.com>
Cc: "pgsql-hackers" <pgsql-hackers@postgresql.org>, "Tom Lane" <tgl@sss.pgh.pa.us>
Date: 2025-11-04T06:25:05Z
Lists: pgsql-hackers
After my analysis in the other subthread, patch 1 looks ready to be 
committed. Patch 2 looks good to go, but maybe you should split the "set 
-e" changes into a separate commit. Not sure how much I like patch 
3 since it hardcodes $libdir as "lib" for the purposes of finding the 
header, but it's also kind of a last resort thing, so ¯\_(ツ)_/¯. Maybe 
it's best if the meson build just copies whatever the autotools build 
does?

-- 
Tristan Partin
Databricks (https://databricks.com)