Crate libtool [−] [src]
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 |