| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,6 +27,6 @@ template("ncrypto_gn_build") { | |||
| 27 | 27 | forward_variables_from(invoker, "*") | |
| 28 | 28 | public_configs = [ ":ncrypto_config" ] | |
| 29 | 29 | sources = gypi_values.ncrypto_sources | |
| 30 | - deps = [ "../openssl" ] | ||
| 30 | + deps = [ "$node_openssl_path" ] | ||
| 31 | 31 | } | |
| 32 | 32 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,8 @@ declare_args() { | |||
| 10 | 10 | # The location of V8, use the one from node's deps by default. | |
| 11 | 11 | node_v8_path = "$node_path/deps/v8" | |
| 12 | 12 | ||
| 13 | + node_openssl_path = "$node_path/deps/openssl" | ||
| 14 | + | ||
| 13 | 15 | # The NODE_MODULE_VERSION defined in node_version.h. | |
| 14 | 16 | node_module_version = exec_script("$node_path/tools/getmoduleversion.py", [], "value") | |
| 15 | 17 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -185,7 +185,7 @@ template("node_gn_build") { | |||
| 185 | 185 | } | |
| 186 | 186 | if (node_use_openssl) { | |
| 187 | 187 | deps += [ "deps/ncrypto" ] | |
| 188 | - public_deps += [ "deps/openssl" ] | ||
| 188 | + public_deps += [ "$node_openssl_path" ] | ||
| 189 | 189 | sources += gypi_values.node_crypto_sources | |
| 190 | 190 | } | |
| 191 | 191 | if (node_enable_inspector) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments