-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installer: install ICU header files #12217
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. With system the system provided headers.
tools/install.py
Outdated
icu_path = variables.get('icu_path') | ||
if icu_path: | ||
icu_headers_path = icu_path + '/source/common/unicode' | ||
subdir_files(icu_headers_path, 'include/node/unicode/', action) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably also install i18n/unicode and (possibly?) io/unicode.
@srl295 What does ICU consider public API and what internal?
Windows link errors...
@srl295 Is that an ICU bug? ICU seems to be quite diligent in tagging everything |
Also add a smoke test to ensure that linking to the bundled ICU works.
ddf3ddf
to
e38f8dc
Compare
Switched to @srl295 Can you PTAL? |
God, Windows... I'm going to guess i18n only uses dllexport when the right
Will dig further. |
@bnoordhuis yes, OK. for a shlib you need to set Within node, since it's static, I would set OK, I'm confused… Node is built statically, including ICU. How is the linking supposed to work? I think in |
Ping @bnoordhuis |
@bnoordhuis does this still need much work? It is stalled since quite a while and I would otherwise close this. |
so, what I said in #12217 (comment)
if that is set, it might work on Windows. |
Closing this due to the long inactivity and no response. @bnoordhuis please reopen if you would like to pursue this further. |
Also add a smoke test to ensure that linking to the bundled ICU works.
(Perhaps this should be two commits.)
CI: https://ci.nodejs.org/job/node-test-pull-request/7205/