Skip to content

Commit 2a69b68

Browse files
srl295Fishrock123
authored andcommitted
build: fix --with-intl=system-icu for x-compile
* add toolset stuff to icu-system.gyp * update docs Fixes: #3801 PR-URL: #3808 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 413ca53 commit 2a69b68

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ Windows:
228228
$ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
229229
```
230230

231+
If you are cross compiling, your `pkg-config` must be able to supply a path
232+
that works for both your host and target environments.
233+
231234
#### Build with a specific ICU:
232235

233236
You can find other ICU releases at

tools/icu/icu-system.gyp

+2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
{
1010
'target_name': 'icuuc',
1111
'type': 'none',
12+
'toolsets': [ 'host', 'target' ],
1213
},
1314
{
1415
'target_name': 'icui18n',
1516
'type': 'none',
17+
'toolsets': [ 'host', 'target' ],
1618
},
1719
],
1820
}

0 commit comments

Comments
 (0)