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:
Shelley Vohr
2024-11-23 12:06:02 +01:00
committed by GitHub
parent 92c7dde664
commit d3bcb97e5a
3 changed files with 4 additions and 2 deletions

View File

@@ -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")