Skip to content

Commit d5051d0

Browse files
codebytereRafaelGSS
authored andcommitted
build: use variable for crypto dep path
PR-URL: #55928 Reviewed-By: Cheng Zhao <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 6537512 commit d5051d0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

node.gni

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ declare_args() {
1010
# The location of V8, use the one from node's deps by default.
1111
node_v8_path = "$node_path/deps/v8"
1212

13+
node_openssl_path = "$node_path/deps/openssl"
14+
1315
# The NODE_MODULE_VERSION defined in node_version.h.
1416
node_module_version = exec_script("$node_path/tools/getmoduleversion.py", [], "value")
1517

unofficial.gni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ template("node_gn_build") {
182182
deps += [ "//third_party/icu" ]
183183
}
184184
if (node_use_openssl) {
185-
public_deps += [ "deps/openssl" ]
185+
public_deps += [ "$node_openssl_path" ]
186186
sources += gypi_values.node_crypto_sources
187187
}
188188
if (node_enable_inspector) {

0 commit comments

Comments
 (0)