Merge pull request #13739 from electron/fix-rebuild-native-modules
fix: update rebuild-test-modules.py for node 10
This commit is contained in:
commit
2440d03595
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ def main():
|
||||||
iojs_lib = os.path.join(lib_dir, 'iojs.lib')
|
iojs_lib = os.path.join(lib_dir, 'iojs.lib')
|
||||||
atom_lib = os.path.join(out_dir, 'node.dll.lib')
|
atom_lib = os.path.join(out_dir, 'node.dll.lib')
|
||||||
shutil.copy2(atom_lib, iojs_lib)
|
shutil.copy2(atom_lib, iojs_lib)
|
||||||
|
node_lib = os.path.join(lib_dir, 'node.lib')
|
||||||
|
shutil.copy2(atom_lib, node_lib)
|
||||||
|
|
||||||
# Native modules can only be compiled against release builds on Windows
|
# Native modules can only be compiled against release builds on Windows
|
||||||
if config[0] == 'R' or PLATFORM != 'win32':
|
if config[0] == 'R' or PLATFORM != 'win32':
|
||||||
|
|
Loading…
Reference in a new issue