From 65119a89586b94b0dd46b45f6d315c9d9f4c9261 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 24 Nov 2021 22:06:27 +0100 Subject: [PATCH] build: test_crypto_engine depends on non-shared openssl 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 --- node.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.gyp b/node.gyp index 068a647e415ef0..276a272a95c0eb 100644 --- a/node.gyp +++ b/node.gyp @@ -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',