test_crypto_engine: depends on non-shared openssl
test_crypto_engine is written such that it assumes node_shared_openssl is false (deps/openssl/include
on linux, deps/openssl/openssl.gyp:openssl
on mac), so update the condition to only when those are valid expectations. Without this, deps/openssl
is built on mac even when building with --shared-openssl
(#40958 (closed)).
closes #40958 (closed)
It's possible the right fix is to update the dependencies to point to shared openssl when true. I don't know how to do that, though, so feel free to close this and someone else can pursue that resolution.
This patch is confirmed to fix the spurious build part of the issue in https://github.com/conda-forge/nodejs-feedstock/pull/221