Commit b76fdf4
authored
Ensure system libraries are built on demand (emscripten-core#19405)
Previously, when explicitly linking against a system library (e.g.
`-lc`) that had not been built earlier, wasm-ld would raise an error
indicating that the library could not be found.
Use the `get_link_flag()` function to ensure that it triggers a
build if the system library is not present in the cache.1 parent fea7644 commit b76fdf4
3 files changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4184 | 4184 | | |
4185 | 4185 | | |
4186 | 4186 | | |
4187 | | - | |
4188 | | - | |
| 4187 | + | |
| 4188 | + | |
4189 | 4189 | | |
4190 | 4190 | | |
4191 | 4191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12110 | 12110 | | |
12111 | 12111 | | |
12112 | 12112 | | |
12113 | | - | |
12114 | | - | |
12115 | 12113 | | |
12116 | 12114 | | |
12117 | 12115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
0 commit comments