-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Open
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.
Description
On Windows, Node exports a curated list of symbols from its dependencies that don't use dllimport/dllexport (c-ares, openssl, zlib)
On Unices, Node indiscriminately re-exports everything thanks to -Wl,--whole-archive
.
There's a comment about it in node.gyp:
# TODO(bnoordhuis) Make all platforms export the same list of symbols.
# Teach mkssldef.py to generate linker maps that UNIX linkers understand.
It would be good to implement that. It should help trim down the binary size.
gengjiawen
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.