mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
fix: clang variable for native module installs from build dir (#242601)
This commit is contained in:
@@ -2,4 +2,5 @@ disturl="https://nodejs.org/dist"
|
||||
runtime="node"
|
||||
build_from_source="true"
|
||||
legacy-peer-deps="true"
|
||||
force_process_config="true"
|
||||
timeout=180000
|
||||
|
||||
@@ -85,7 +85,7 @@ function setNpmrcConfig(dir, env) {
|
||||
// the correct clang variable. So keep the version check
|
||||
// in preinstall sync with this logic.
|
||||
// Change was first introduced in https://github.com/nodejs/node/commit/6e0a2bb54c5bbeff0e9e33e1a0c683ed980a8a0f
|
||||
if (dir === 'remote' && process.platform === 'darwin') {
|
||||
if ((dir === 'remote' || dir === 'build') && process.platform === 'darwin') {
|
||||
env['npm_config_force_process_config'] = 'true';
|
||||
} else {
|
||||
delete env['npm_config_force_process_config'];
|
||||
|
||||
Reference in New Issue
Block a user