Skip to content

Commit

Permalink
fix: use 'target_arch' for node-pre-gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Nov 18, 2023
1 parent ee3eb00 commit a89649f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module-type/node-pre-gyp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export class NodePreGyp extends NativeModule {
nodePreGypPath,
'reinstall',
'--fallback-to-build',
`--arch=${this.rebuilder.arch}`,
`--platform=${this.rebuilder.platform}`,
`--target_arch=${this.rebuilder.arch}`,
`--target_platform=${this.rebuilder.platform}`,
...await this.getNodePreGypRuntimeArgs(),
],
{
Expand Down

0 comments on commit a89649f

Please sign in to comment.