Merge pull request #9682 from electron/release-detection
Rebuild native modules when configuration starts with R
This commit is contained in:
commit
21439a138b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ def main():
|
||||||
shutil.copy2(atom_lib, iojs_lib)
|
shutil.copy2(atom_lib, iojs_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 == 'R' or PLATFORM != 'win32':
|
if config[0] == 'R' or PLATFORM != 'win32':
|
||||||
update_electron_modules(os.path.dirname(spec_modules), get_target_arch(),
|
update_electron_modules(os.path.dirname(spec_modules), get_target_arch(),
|
||||||
node_dir)
|
node_dir)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue