Skip to content

Commit

Permalink
build: test_crypto_engine depends on non-shared openssl
Browse files Browse the repository at this point in the history
so only build it when using non-shared openssl,
otherwise (mac at least) will build deps/openssl
even when using shared openssl.

Fixes: https://github.com/nodejs/node/40958
  • Loading branch information
minrk committed Nov 25, 2021
1 parent f7ac6ba commit 65119a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@
}], # end aix section
# TODO(RaisinTen): Enable this to build on other platforms as well.
['(OS=="mac" or (OS=="linux" and target_arch=="x64")) and \
node_use_openssl=="true"', {
node_use_openssl=="true" and node_shared_openssl=="false"', {
'targets': [
{
'target_name': 'test_crypto_engine',
Expand Down

0 comments on commit 65119a8

Please sign in to comment.