getopt-long 0.1.5

Just as getopt_long in glibc. Dependence is nothing.
Documentation
extern crate cc;

// --

fn main() {
    if !cfg!(target_os = "linux") {
        cc::Build::new()
            .include("src/my_glibc")
            .file("src/my_glibc/getopt.c")
            .compile("my_glibc");
    }
}