Skip to content

Commit

Permalink
Add an additional search path for dl loading libs
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 committed Jan 23, 2019
1 parent 2e3fc42 commit b084d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ fn blob_backends(conf: &Config, build_dir: &std::path::PathBuf) -> (Vec<String>,
}
};

let libpath = afpath.join("lib");
backend_dirs.push(libpath.to_str().to_owned().unwrap().to_string());
backend_dirs.push(afpath.join("lib").to_str().to_owned().unwrap().to_string());
backend_dirs.push(afpath.join("lib64").to_str().to_owned().unwrap().to_string());

if !cfg!(target_os = "windows") {
backend_dirs.push(String::from("/usr/local/lib"));
Expand Down

0 comments on commit b084d21

Please sign in to comment.