Merge pull request #13739 from electron/fix-rebuild-native-modules

fix: update rebuild-test-modules.py for node 10
This commit is contained in:
John Kleinschmidt 2018-07-20 11:20:32 -04:00 committed by GitHub
commit 2440d03595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,8 @@ def main():
iojs_lib = os.path.join(lib_dir, 'iojs.lib')
atom_lib = os.path.join(out_dir, 'node.dll.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
if config[0] == 'R' or PLATFORM != 'win32':