Browse Source

build: fix --with-intl=system-icu for x-compile

* add toolset stuff to icu-system.gyp
* update docs

Fixes: https://github.com/nodejs/node/issues/3801
PR-URL: https://github.com/nodejs/node/pull/3808
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
process-exit-stdio-flushing
Steven R. Loomis 9 years ago
committed by James M Snell
parent
commit
84f09647d0
  1. 3
      README.md
  2. 2
      tools/icu/icu-system.gyp

3
README.md

@ -228,6 +228,9 @@ Windows:
$ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu $ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
``` ```
If you are cross compiling, your `pkg-config` must be able to supply a path
that works for both your host and target environments.
#### Build with a specific ICU: #### Build with a specific ICU:
You can find other ICU releases at You can find other ICU releases at

2
tools/icu/icu-system.gyp

@ -9,10 +9,12 @@
{ {
'target_name': 'icuuc', 'target_name': 'icuuc',
'type': 'none', 'type': 'none',
'toolsets': [ 'host', 'target' ],
}, },
{ {
'target_name': 'icui18n', 'target_name': 'icui18n',
'type': 'none', 'type': 'none',
'toolsets': [ 'host', 'target' ],
}, },
], ],
} }

Loading…
Cancel
Save