Skip to content

Commit 325a222

Browse files
committed
doc: clarify ICU source layout for configure
1 parent 6b5178f commit 325a222

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

BUILDING.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -978,21 +978,26 @@ that works for both your host and target environments.
978978

979979
You can find other ICU releases at
980980
[the ICU homepage](https://icu.unicode.org/download).
981-
Download the file named something like `icu4c-**##.#**-src.tgz` (or
982-
`.zip`).
981+
Download the source archive named something like
982+
`icu4c-**##.#**-sources.tgz` (or `.zip`).
983983

984984
To check the minimum recommended ICU, run `./configure --help` and see
985985
the help for the `--with-icu-source` option. A warning will be printed
986986
during configuration if the ICU version is too old.
987987

988988
#### Unix/macOS
989989

990-
From an already-unpacked ICU:
990+
From an already-unpacked ICU source archive:
991991

992992
```bash
993993
./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu
994994
```
995995

996+
The directory passed to `--with-icu-source` must contain the extracted ICU
997+
source layout (for example, `source/data/in/icudt*l.dat`). A plain Git checkout
998+
of the ICU repository is not sufficient unless it has been prepared to match
999+
this layout.
1000+
9961001
From a local ICU tarball:
9971002

9981003
```bash

0 commit comments

Comments
 (0)