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