build: fix `configure --link-module`
Add the list of linked modules to the arguments for js2c.py. These were unintentionally omitted when the build was previously refactored to avoid command line length limits on Windows.
Fixes: https://github.com/nodejs/node/issues/42302 Refs: https://github.com/nodejs/node/pull/39069
Review requested:
- [ ] @nodejs/gyp
CI: https://ci.nodejs.org/job/node-test-pull-request/52348/
CI: https://ci.nodejs.org/job/node-test-pull-request/52354/
CI: https://ci.nodejs.org/job/node-test-pull-request/52360/
CI: https://ci.nodejs.org/job/node-test-pull-request/52362/
Landed in ae9f919880e17eb98b207963bcac2395ea4ffac2
This commit does not land cleanly on v18.x-staging and will need manual backport in case we want it in v18.