v6 attached. I left your patch 1 as it was, apart from a comment.
I had first simplified the string/array handling to ';'.join([] + incdirs), but Meson 0.57.2 rejects list + string with plain +, only += accepts it, so your two-line version is the one that works. I caught that by forcing the CMake fallback on both 0.57.2 and 1.7: both now produce the right -I flags. Regards, Aidar Imamov
v6-0001-meson-expose-OpenSSL-and-ICU-compiler-flags-to-PG.patch
Description: Binary data
