Skip to content

Commit f461d56

Browse files
MarshallOfSoundrvagg
authored andcommitted
build: support apple silicon (arm64 darwin) builds
Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> PR-URL: #2165
1 parent ee6fa7d commit f461d56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/configure.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ function configure (gyp, argv, callback) {
132132
variables.target_arch = gyp.opts.arch || process.arch || 'ia32'
133133
if (variables.target_arch === 'arm64') {
134134
defaults.msvs_configuration_platform = 'ARM64'
135+
defaults.xcode_configuration_platform = 'arm64'
135136
}
136137

137138
// set the node development directory

0 commit comments

Comments
 (0)