#automatic #generate #script #la #helper #convenience #archive

libtool

build script helper to automatically generate libtool convenience library (.la) files

2 releases

Uses old Rust 2015

0.1.1 Aug 11, 2017
0.1.0 Aug 4, 2017

#655 in Compression

Download history 36/week @ 2024-07-19 31/week @ 2024-07-26 18/week @ 2024-08-02 19/week @ 2024-08-09 27/week @ 2024-08-16 34/week @ 2024-08-23 46/week @ 2024-08-30 35/week @ 2024-09-06 24/week @ 2024-09-13 40/week @ 2024-09-20 40/week @ 2024-09-27 36/week @ 2024-10-04 48/week @ 2024-10-11 94/week @ 2024-10-18 65/week @ 2024-10-25 59/week @ 2024-11-01

268 downloads per month
Used in redirectionio

MPL-2.0 license

7KB

libtool-rs

build script helper to automatically generate libtool convenience library (.la) files.


lib.rs:

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

No runtime deps