Skip to content

Commit b084d21

Browse files
committed
Add an additional search path for dl loading libs
1 parent 2e3fc42 commit b084d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ fn blob_backends(conf: &Config, build_dir: &std::path::PathBuf) -> (Vec<String>,
306306
}
307307
};
308308

309-
let libpath = afpath.join("lib");
310-
backend_dirs.push(libpath.to_str().to_owned().unwrap().to_string());
309+
backend_dirs.push(afpath.join("lib").to_str().to_owned().unwrap().to_string());
310+
backend_dirs.push(afpath.join("lib64").to_str().to_owned().unwrap().to_string());
311311

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

0 commit comments

Comments
 (0)