Expand description
This library can help you generate libtool archive files to link with existing C library.
Add this to Config.toml
[package]
build = "build.rs"
[build-dependencies]
libtool = "0.1"
And the build.rs file
extern crate libtool;
fn main() {
libtool::generate_convenience_lib("libfoo").unwrap();
}
It will automatically generate the file target/{profile}/libfoo.la
Functionsยง
- generate_
convenience_ lib - Generate libtool archive file ${lib}.la