mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
build: link to OpenSSL in V8 or define V8_USE_OPENSSL=0
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
1 parent
79fa224cdd
commit
e40b16824a
1 file changed
+23
@@ -175,6 +175,28 @@
|
||||
}],
|
||||
],
|
||||
}, # v8_maybe_icu
|
||||
{
|
||||
# V8 uses BoringSSL/OpenSSL for SHA-256. If configured --without-ssl,
|
||||
# use V8_USE_OPENSSL to fall back to the Omaha implementation.
|
||||
'target_name': 'v8_maybe_openssl',
|
||||
'type': 'none',
|
||||
'toolsets': ['host', 'target'],
|
||||
'hard_dependency': 1,
|
||||
'conditions': [
|
||||
['node_use_openssl=="false" or _toolset=="host"', {
|
||||
'direct_dependent_settings': {
|
||||
'defines': ['V8_USE_OPENSSL=0'],
|
||||
},
|
||||
}, 'node_shared_openssl=="false" and target_arch not in "ppc64 s390x"', {
|
||||
'dependencies': [
|
||||
'../../deps/openssl/openssl.gyp:openssl',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'../../deps/openssl/openssl.gyp:openssl',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, # v8_maybe_openssl
|
||||
{
|
||||
'target_name': 'torque_runtime_support',
|
||||
'type': 'none',
|
||||
@@ -1109,6 +1131,7 @@
|
||||
'run_torque#target',
|
||||
'v8_internal_headers',
|
||||
'v8_maybe_icu',
|
||||
'v8_maybe_openssl',
|
||||
'v8_zlib',
|
||||
'v8_pch',
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user