Closed
Description
Providing a pkg-config file makes it easier for users of the library to actually find it, check its version and get the correct compiler and linker flags.
cargo-c could be helpful here for generating the pkg-config file and also to provide a mechanism for installing it, the library itself and the header. It also ensures that the library has a valid and correct soname set, which cargo doesn't set at all when building a cdylib
.
cargo-c
also allows running cbindgen automatically but AFAIU you're manually editing the output of it so that's maybe not very useful here.
Metadata
Metadata
Assignees
Labels
No labels
Activity