Expand description
Builds the native library rooted at path
with the default configure options.
This will return the directory in which the library was installed.
Examples
use autotools;
// Builds the project in the directory located in `libfoo`, installing it
// into $OUT_DIR
let dst = autotools::build("libfoo");
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static=foo");