镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/ncrypto/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ template("ncrypto_gn_build") {
forward_variables_from(invoker, "*")
public_configs = [ ":ncrypto_config" ]
sources = gypi_values.ncrypto_sources
deps = [ "../openssl" ]
deps = [ "$node_openssl_path" ]
}
}
2 changes: 2 additions & 0 deletions node.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ template("node_gn_build") {
}
if (node_use_openssl) {
deps += [ "deps/ncrypto" ]
public_deps += [ "deps/openssl" ]
public_deps += [ "$node_openssl_path" ]
sources += gypi_values.node_crypto_sources
}
if (node_enable_inspector) {
Expand Down