fig-sys-android-arm64 6.0.0

Prebuilt fig core and language libraries for aarch64-linux-android. Support crate for fig-sys; not for direct use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Hand the prebuilt archives' directory to `fig-sys`'s build script. Because
// this crate sets `links`, the `cargo:libdir=…` line below reaches dependents
// as `DEP_<LINKS>_LIBDIR`. This crate emits no link directives itself:
// `fig-sys` decides to link the core, and passes the directory on to the
// language crates, which link their own.
use std::env;
use std::path::Path;

fn main() {
    let manifest = env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR");
    let libdir = Path::new(&manifest).join("lib");
    println!("cargo:libdir={}", libdir.display());
    println!("cargo:rerun-if-changed={}", libdir.display());
}