pgsql: headerscheck: Use ICU_CFLAGS

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: headerscheck: Use ICU_CFLAGS
Date: 2025-08-29 07:25:32
Message-ID: E1urtUJ-002C6Y-2b@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

headerscheck: Use ICU_CFLAGS

Otherwise, headerscheck will fail if the ICU headers are in a location
not reached by the normal CFLAGS/CPPFLAGS:

../src/include/utils/pg_locale.h:21:10: fatal error: unicode/ucol.h: No such file or directory

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/flat/1127775.1754417387%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/664e0d678965719fe0d385aa3a8f2777058b119b

Modified Files
--------------
src/tools/pginclude/headerscheck | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-08-29 07:32:34 pgsql: headerscheck: Document that --with-llvm is required
Previous Message Peter Eisentraut 2025-08-29 05:41:29 pgsql: Mark ItemPointer arguments as const in tuple/table lock function