If I'm not mistaken, that is functioning correctly. According to the `clang-sys` docs, it uses `LIBCLANG_PATH` at compile time to find the library. That _is_ working because the resulting `build.rs` executable is reference `libclang.so.15` (which, at the time, was only in the mozbuild toolchain). But the `build.rs` executable then has a `NEEDED` entry for just `libclang.so.15` (rather than, for example, the full path), which fails to resolve when it is run.
Bug 1826812 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
If I'm not mistaken, that is functioning correctly. According to the `clang-sys` docs, it uses `LIBCLANG_PATH` at compile time to find the library. That _is_ working because the resulting `build.rs` executable is referencing `libclang.so.15` (which, at the time, was only in the mozbuild toolchain). But the `build.rs` executable then has a `NEEDED` entry for just `libclang.so.15` (rather than for example the full path), which fails to resolve when it is run.