Commit 833ca02
committed
ocamlopt: do not link -lzstd nor zstd.n.o by default, only for compilerlibs
To this end, we produce a new library libcomprmarsh.a, containing
runtime/zstd.n.o, and attach both -lcomprmarsh and -lzstd to
ocamlcommon.cmxa.
(cherry picked and much improved from commit
9398511)1 parent 8ccc5ce commit 833ca02
6 files changed
Lines changed: 34 additions & 12 deletions
File tree
- ocamltest
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
416 | 425 | | |
417 | 426 | | |
418 | 427 | | |
| |||
930 | 939 | | |
931 | 940 | | |
932 | 941 | | |
933 | | - | |
934 | | - | |
935 | 942 | | |
936 | 943 | | |
937 | 944 | | |
| |||
1135 | 1142 | | |
1136 | 1143 | | |
1137 | 1144 | | |
1138 | | - | |
1139 | | - | |
| 1145 | + | |
1140 | 1146 | | |
1141 | 1147 | | |
1142 | 1148 | | |
1143 | 1149 | | |
1144 | 1150 | | |
1145 | 1151 | | |
1146 | | - | |
| 1152 | + | |
| 1153 | + | |
1147 | 1154 | | |
1148 | 1155 | | |
1149 | 1156 | | |
| |||
1174 | 1181 | | |
1175 | 1182 | | |
1176 | 1183 | | |
1177 | | - | |
| 1184 | + | |
| 1185 | + | |
1178 | 1186 | | |
1179 | 1187 | | |
1180 | 1188 | | |
| |||
1225 | 1233 | | |
1226 | 1234 | | |
1227 | 1235 | | |
| 1236 | + | |
| 1237 | + | |
1228 | 1238 | | |
1229 | 1239 | | |
1230 | 1240 | | |
| |||
1350 | 1360 | | |
1351 | 1361 | | |
1352 | 1362 | | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1353 | 1366 | | |
1354 | 1367 | | |
1355 | 1368 | | |
| |||
1506 | 1519 | | |
1507 | 1520 | | |
1508 | 1521 | | |
| 1522 | + | |
| 1523 | + | |
1509 | 1524 | | |
1510 | 1525 | | |
1511 | 1526 | | |
| 1527 | + | |
1512 | 1528 | | |
1513 | 1529 | | |
1514 | 1530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
2132 | 2133 | | |
2133 | 2134 | | |
2134 | 2135 | | |
| 2136 | + | |
| 2137 | + | |
2135 | 2138 | | |
2136 | 2139 | | |
2137 | 2140 | | |
| |||
2154 | 2157 | | |
2155 | 2158 | | |
2156 | 2159 | | |
2157 | | - | |
2158 | 2160 | | |
2159 | 2161 | | |
2160 | 2162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments