[Pkg-rust-maintainers] Bug#973387: does debian's libclang-dev support static linking?

Sylvestre Ledru sylvestre at debian.org
Thu Oct 29 19:44:15 GMT 2020


Hello,

Le 29/10/2020 à 20:39, peter green a écrit :
> I was looking at an autopkgtest failure in rust-bindgen. The failure 
> happened when when testing with the "static"
> feature. It appears the failure was caused by a lack of libclang.a
We should disable this test in bindgen probably.
>
> When looking at the file list of libclang-9-dev I noticed that there 
> was no libclang.a but there were a number of
> static libraries that looked like they may be parts of libclang.a. 
> There did not seem to be a .pc file.
>
> Can you clarify whether the debian libclang-dev package is supposed to 
> support static linking and if-so how a
> program should determine what libraries to link with?
>
Dunno :/

I have been focussing on shared libraries. Contributions to make 
libclang.a works properly are more than
welcome :)

S





More information about the Pkg-llvm-team mailing list