4 let mut config = Config::new("");
6 config.define("BUILD_TESTING", "0");
7 #[cfg(not(feature = "float"))]
8 config.define("LIBA_FLOAT", "8");
9 #[cfg(feature = "float")]
10 config.define("LIBA_FLOAT", "4");
11 config.static_crt(true);
13 let out = config.build();
14 let lib = out.join("lib");
16 println!("cargo:rustc-link-search=native={}", lib.display());
17 println!("cargo:rustc-link-lib=static=a");