From 325a222e240c941b4960b65a6edc77704450d456 Mon Sep 17 00:00:00 2001 From: skdas20 Date: Thu, 26 Feb 2026 18:30:50 +0000 Subject: [PATCH] doc: clarify ICU source layout for configure --- BUILDING.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index a7b91fc40ee5b5..403deefb92c701 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -978,8 +978,8 @@ that works for both your host and target environments. You can find other ICU releases at [the ICU homepage](https://icu.unicode.org/download). -Download the file named something like `icu4c-**##.#**-src.tgz` (or -`.zip`). +Download the source archive named something like +`icu4c-**##.#**-sources.tgz` (or `.zip`). To check the minimum recommended ICU, run `./configure --help` and see the help for the `--with-icu-source` option. A warning will be printed @@ -987,12 +987,17 @@ during configuration if the ICU version is too old. #### Unix/macOS -From an already-unpacked ICU: +From an already-unpacked ICU source archive: ```bash ./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu ``` +The directory passed to `--with-icu-source` must contain the extracted ICU +source layout (for example, `source/data/in/icudt*l.dat`). A plain Git checkout +of the ICU repository is not sufficient unless it has been prepared to match +this layout. + From a local ICU tarball: ```bash