| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6545314 commit 648766b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -981,13 +981,15 @@ def configure_node(o): | |||
| 981 | 981 | o['variables']['want_separate_host_toolset'] = int(cross_compiling) | |
| 982 | 982 | ||
| 983 | 983 | if not options.without_node_snapshot: | |
| 984 | - o['variables']['node_use_node_snapshot'] = b(not cross_compiling) | ||
| 984 | + o['variables']['node_use_node_snapshot'] = b( | ||
| 985 | + not cross_compiling and not options.shared) | ||
| 985 | 986 | else: | |
| 986 | 987 | o['variables']['node_use_node_snapshot'] = 'false' | |
| 987 | 988 | ||
| 988 | 989 | if not options.without_node_code_cache: | |
| 989 | 990 | # TODO(refack): fix this when implementing embedded code-cache when cross-compiling. | |
| 990 | - o['variables']['node_use_node_code_cache'] = b(not cross_compiling) | ||
| 991 | + o['variables']['node_use_node_code_cache'] = b( | ||
| 992 | + not cross_compiling and not options.shared) | ||
| 991 | 993 | else: | |
| 992 | 994 | o['variables']['node_use_node_code_cache'] = 'false' | |
| 993 | 995 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments