fn add_library_search_path<P: AsRef<Path>>(path: P) {
    let path = path.as_ref();
    assert!(
        path.is_dir(),
        "Invalid library search path: {}",
        path.display()
    );
    println!("cargo:rustc-link-search=native={}", path.display());
}
/// Ensure a path is valid and add it to the build-time library search path.
Ensure a path is valid and add it to the build-time library search path.
Ensure a path is valid and add it to the build - time library search path .
fn add_library_search_path<P: AsRef<Path>>(path: P) {
    let path = path.as_ref();
    assert!(
        path.is_dir(),
        "Invalid library search path: {}",
        path.display()
    );
    println!("cargo:rustc-link-search=native={}", path.display());
}
fn add_library_search_path < P : AsRef < Path > > ( path : P ) { let path = path . as_ref ( ) ; assert ! ( path is_dir ( ) " " path display ( ) ) ; println ! ( " " path display ( ) ) ; }
Ensure a path is valid and add it to the build-time library search path.
Ensure a path is valid and add it to the build - time library search path .
path
P
path
P