Use nodedir option to specify local headers
This commit is contained in:
parent
20fa2ce147
commit
164b97af4c
1 changed files with 2 additions and 2 deletions
|
@ -190,8 +190,8 @@ def update_electron_modules(dirname, target_arch):
|
||||||
version = get_electron_version()
|
version = get_electron_version()
|
||||||
env['npm_config_arch'] = target_arch
|
env['npm_config_arch'] = target_arch
|
||||||
env['npm_config_target'] = version
|
env['npm_config_target'] = version
|
||||||
env['npm_config_tarball'] = os.path.join(SOURCE_ROOT, 'dist',
|
env['npm_config_nodedir'] = os.path.join(SOURCE_ROOT, 'dist',
|
||||||
'node-{0}.tar.gz'.format(version))
|
'node-{0}'.format(version))
|
||||||
update_node_modules(dirname, env)
|
update_node_modules(dirname, env)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue