This commit is contained in:
Benoit Daloze
2022-01-13 19:47:00 +01:00
parent 26470672e5
commit 8f312efe12
2 changed files with 2 additions and 2 deletions
Generated Vendored
+1 -1
View File
@@ -59271,7 +59271,7 @@ function addVCVARSEnv() {
function renameSystem32Dlls() {
const sys32 = 'C:\\Windows\\System32\\'
const badFiles = [`${sys32}libcrypto-1_1-x64.dll`, `${sys32}libssl-1_1-x64.dll`]
const existing = badFiles.map((dll) => fs.existsSync(dll))
const existing = badFiles.filter((dll) => fs.existsSync(dll))
console.log(`Renaming ${existing.join(' and ')} to avoid dll resolution conflicts on Ruby <= 2.4`)
existing.forEach(dll => fs.renameSync(dll, `${dll}_`))
}
+1 -1
View File
@@ -242,7 +242,7 @@ export function addVCVARSEnv() {
function renameSystem32Dlls() {
const sys32 = 'C:\\Windows\\System32\\'
const badFiles = [`${sys32}libcrypto-1_1-x64.dll`, `${sys32}libssl-1_1-x64.dll`]
const existing = badFiles.map((dll) => fs.existsSync(dll))
const existing = badFiles.filter((dll) => fs.existsSync(dll))
console.log(`Renaming ${existing.join(' and ')} to avoid dll resolution conflicts on Ruby <= 2.4`)
existing.forEach(dll => fs.renameSync(dll, `${dll}_`))
}