mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
build: use variable for crypto dep path
PR-URL: https://github.com/nodejs/node/pull/55928 Reviewed-By: Cheng Zhao <zcbenz@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
6537512dec
commit
d5051d09b6
2 changed files with 3 additions and 1 deletions
2
node.gni
2
node.gni
|
@ -10,6 +10,8 @@ declare_args() {
|
|||
# The location of V8, use the one from node's deps by default.
|
||||
node_v8_path = "$node_path/deps/v8"
|
||||
|
||||
node_openssl_path = "$node_path/deps/openssl"
|
||||
|
||||
# The NODE_MODULE_VERSION defined in node_version.h.
|
||||
node_module_version = exec_script("$node_path/tools/getmoduleversion.py", [], "value")
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ template("node_gn_build") {
|
|||
deps += [ "//third_party/icu" ]
|
||||
}
|
||||
if (node_use_openssl) {
|
||||
public_deps += [ "deps/openssl" ]
|
||||
public_deps += [ "$node_openssl_path" ]
|
||||
sources += gypi_values.node_crypto_sources
|
||||
}
|
||||
if (node_enable_inspector) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue