Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LandryNorris committed Aug 18, 2023
1 parent 1602d5e commit 3d463e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/librhsp/scripts/macos-cross-build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ console.log("Prebuildifying")
await runCmakeJs([...cmakeJsArgs, "--CDCMAKE_SYSTEM_PROCESSOR=x86_64"], baseBuildPath + "darwinX64");
await runCmakeJs([...cmakeJsArgs, "--CDCMAKE_SYSTEM_PROCESSOR=arm64"], baseBuildPath + "darwinArm64");

fs.copyFileSync("build-js-darwinX64/rhsp.node", path.join(prebuiltsFolder, "darwin-x64/rhsp.node"))
fs.copyFileSync("build-js-darwinArm64/rhsp.node", path.join(prebuiltsFolder, "darwin-arm64/rhsp.node"))
fs.copyFileSync(baseBuildPath + "js-darwinX64/rhsp.node", path.join(prebuiltsFolder, "darwin-x64/rhsp.node"))
fs.copyFileSync(baseBuildPath + "js-darwinArm64/rhsp.node", path.join(prebuiltsFolder, "darwin-arm64/rhsp.node"))

async function runCmakeWithArgs(args, cwd) {
const cmake = spawn("cmake", args, {
Expand Down

0 comments on commit 3d463e1

Please sign in to comment.