зеркало из https://github.com/mozilla/gecko-dev.git
12 строки
313 B
Rust
12 строки
313 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
// Use NSS_LIB_DIR lazily. If it's not set and we can't find NSS in the path,
|
|
// the build will fail.
|
|
#[cfg(test)]
|
|
let lib_dir = env::var("NSS_LIB_DIR");
|
|
if let Ok(lib_dir) = env::var("NSS_LIB_DIR") {
|
|
println!("cargo:rustc-link-search={}", lib_dir);
|
|
}
|
|
}
|