We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 887b3bb commit 7797550Copy full SHA for 7797550
1 file changed
utils/acquireOpenSSL.js
@@ -41,7 +41,13 @@ class HashVerify extends stream.Transform {
41
}
42
43
const buildDarwin = async (buildCwd, macOsDeploymentTarget) => {
44
- await execPromise(`./Configure darwin64-x86_64-cc no-shared enable-ec_nistp_64_gcc_128 no-ssl2 no-ssl3 no-comp --prefix="${
+ const triplet = process.arch === 'x64'
45
+ ? 'darwin64-x86_64-cc'
46
+ : 'darwin64-arm64-cc';
47
+
48
+ await execPromise(`./Configure ${
49
+ triplet
50
+ } no-shared enable-ec_nistp_64_gcc_128 no-ssl2 no-ssl3 no-comp --prefix="${
51
extractPath
52
}" --openssldir="${extractPath}" -mmacosx-version-min=${macOsDeploymentTarget}`, {
53
cwd: buildCwd
0 commit comments