[][src]Function librarian::add_link_search_path

pub fn add_link_search_path<T: AsRef<Path> + ?Sized>(path: &T)

Add a cargo link search path (only works strictly from a build script)

The function can be considered an analog of install_dylibs for static libs; it makes the static libs in a folder available to the linker.

Usage:

librarian::add_link_search_path(path_to_static_lib_folder);