GeezerVison is showing github.com — build: fix `configure --link-module` · nodejs/node@6551538
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: configure.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1411,7 +1411,7 @@ def configure_node(o): |
1411 | 1411 | o['variables']['shlib_suffix'] = shlib_suffix |
1412 | 1412 |
|
1413 | 1413 | if options.linked_module: |
1414 | | - o['variables']['library_files'] = options.linked_module |
| 1414 | + o['variables']['linked_module_files'] = options.linked_module |
1415 | 1415 |
|
1416 | 1416 | o['variables']['asan'] = int(options.enable_asan or 0) |
1417 | 1417 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: node.gyp +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
27 | 27 | 'node_lib_target_name%': 'libnode', |
28 | 28 | 'node_intermediate_lib_type%': 'static_library', |
29 | 29 | 'node_builtin_modules_path%': '', |
| 30 | + 'linked_module_files': [ |
| 31 | + ], |
30 | 32 | # We list the deps/ files out instead of globbing them in js2c.cc since we |
31 | 33 | # only include a subset of all the files under these directories. |
32 | 34 | # The lengths of their file names combined should not exceed the |
33 | 35 | # Windows command length limit or there would be an error. |
34 | 36 | # See https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation |
35 | 37 | 'library_files': [ |
36 | 38 | '<@(node_library_files)', |
| 39 | + '<@(linked_module_files)', |
37 | 40 | ], |
38 | 41 | 'deps_files': [ |
39 | 42 | 'deps/v8/tools/splaytree.mjs', |
|
946 | 949 | 'lib', |
947 | 950 | 'config.gypi', |
948 | 951 | '<@(deps_files)', |
| 952 | + '<@(linked_module_files)', |
949 | 953 | ], |
950 | 954 | }, |
951 | 955 | ], |
|