mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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. PR-URL: https://github.com/nodejs/node/pull/48522 Fixes: https://github.com/nodejs/node/issues/42302 Refs: https://github.com/nodejs/node/pull/39069 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
0e0dd1fe90
commit
f2eccb7a04
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -1464,7 +1464,7 @@ def configure_node(o):
|
||||
o['variables']['shlib_suffix'] = shlib_suffix
|
||||
|
||||
if options.linked_module:
|
||||
o['variables']['library_files'] = options.linked_module
|
||||
o['variables']['linked_module_files'] = options.linked_module
|
||||
|
||||
o['variables']['asan'] = int(options.enable_asan or 0)
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
'node_lib_target_name%': 'libnode',
|
||||
'node_intermediate_lib_type%': 'static_library',
|
||||
'node_builtin_modules_path%': '',
|
||||
'linked_module_files': [
|
||||
],
|
||||
# We list the deps/ files out instead of globbing them in js2c.py since we
|
||||
# only include a subset of all the files under these directories.
|
||||
# The lengths of their file names combined should not exceed the
|
||||
@@ -36,6 +38,7 @@
|
||||
# See https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation
|
||||
'library_files': [
|
||||
'<@(node_library_files)',
|
||||
'<@(linked_module_files)',
|
||||
],
|
||||
'deps_files': [
|
||||
'deps/v8/tools/splaytree.mjs',
|
||||
@@ -970,6 +973,7 @@
|
||||
'<@(_outputs)',
|
||||
'config.gypi',
|
||||
'<@(deps_files)',
|
||||
'<@(linked_module_files)',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user