Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

build: i18n: fix issue with icu toolset dependencies #8681

Closed
wants to merge 1 commit into from

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Nov 6, 2014

So what I did here is to make the icutools library
actually contain the entire ICU dependencies needed
for host-side tools. Sadly, this will build ICU twice,
but avoids conflicts between host and target side.
This all seems like a gyp bug of some sort, but without
docs for toolsets, who’s to say?

I removed the icuio library, because it was only
used by the host-side tools.

ref: #7676

So what I did here is to make the `icutools` library
actually contain the entire ICU dependencies needed
for host-side tools. Sadly, this will build ICU twice,
but avoids conflicts between host and target side.
This all seems like a gyp bug of some sort, but without
docs for `toolsets`, who’s to say?

I removed the `icuio` library as a separate target,
because it was only used by the host-side tools.

ref: nodejs#7676

Update: fix for Windows
trevnorris pushed a commit that referenced this pull request Nov 12, 2014
So what I did here is to make the icutools library actually contain the
entire ICU dependencies needed for host-side tools. Sadly, this will
build ICU twice, but avoids conflicts between host and target side.
This all seems like a gyp bug of some sort, but without docs for
toolsets, who’s to say?

I removed the icuio library as a separate target, because it was only
used by the host-side tools.

PR-URL: #8681
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
@trevnorris
Copy link

Thanks much. Merged in ea4dc7d.

@trevnorris trevnorris closed this Nov 12, 2014
@srl295 srl295 deleted the srl-v0.12-fixdeps branch November 12, 2014 06:38
@jelmd
Copy link

jelmd commented Nov 5, 2015

Just tried node-v5.0.0 with --with-intl=system-icu and I get the following error:

gyp: Dependency '/export/scratch/build/node-v5.0.0/tools/icu/icu-system.gyp:icui18n#host' not found while trying to load target /export/scratch/build/node-v5.0.0/deps/v8/tools/gyp/v8.gyp:v8_base#host
Error running GYP

Not sure, what host is all about. Any hints?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants