Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Without this workaround node18 fails to generate prebuilds for node versions < 18 with:
gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
  • Loading branch information
nsavoire committed Feb 17, 2023
1 parent 6cf2342 commit 1b9c79f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prebuild/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ function prebuildTarget (arch, target) {
'--build_v8_with_gn=false',
'--v8_enable_pointer_compression=""',
'--v8_enable_31bit_smis_on_64bit_arch=""',
'--enable_lto=false'
'--enable_lto=false',
// Workaround for https://github.com/nodejs/node-gyp/issues/2750
// taken from https://github.com/nodejs/node-gyp/issues/2673#issuecomment-1196931379
'--openssl_fips=""'
].join(' ')
}

Expand Down

0 comments on commit 1b9c79f

Please sign in to comment.