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

peter green plugwash at p10link.net
Thu Oct 29 19:39:44 GMT 2020


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

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?



More information about the Pkg-rust-maintainers mailing list