Add support for Linux arm64 (#446)

This commit is contained in:
Michael Telatynski
2023-04-18 11:38:26 +01:00
committed by GitHub
parent 392545a57f
commit 0d0b333f40
9 changed files with 114 additions and 27 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export default async function buildKeytar(hakEnv: HakEnv, moduleInfo: Dependency
await new Promise<void>((resolve, reject) => {
const proc = childProcess.spawn(
path.join(moduleInfo.nodeModuleBinDir, "node-gyp" + (hakEnv.isWin() ? ".cmd" : "")),
["rebuild"],
["rebuild", "--arch", hakEnv.getTargetArch()],
{
cwd: moduleInfo.moduleBuildDir,
env,