Commit bfe762e
committed
Auto merge of rust-lang#121967 - nikic:libllvm-linker-script, r=Mark-Simulacrum
Replace libLLVM symlink with linker script
It turns out that the libLLVM-N.so -> libLLVM.so.N.1 symlink is also needed when projects like miri link against librustc_driver.so. As such, we have to distribute it in real rustup components like rustc-dev, rather than only for download-ci-llvm.
To avoid actually distributing symlinks (which are not supported or not fully supported by the rustup infrastructure) replace it with a linker script that does the same thing instead.
Fixes rust-lang#121889.
r? `@cuviper`1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2035 | 2035 | | |
2036 | 2036 | | |
2037 | 2037 | | |
| 2038 | + | |
| 2039 | + | |
2038 | 2040 | | |
2039 | | - | |
2040 | | - | |
| 2041 | + | |
| 2042 | + | |
2041 | 2043 | | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
2042 | 2050 | | |
2043 | 2051 | | |
2044 | 2052 | | |
| |||
0 commit comments