Skip to content

Commit

Permalink
attempt to fix aarch64 linux link
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Nov 7, 2024
1 parent 8a16adb commit 2888e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ort-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ fn prepare_libort_dir() -> (PathBuf, bool) {
let static_configs: Vec<(PathBuf, PathBuf, PathBuf, Box<dyn Fn(PathBuf, &String) -> PathBuf>)> = vec![
(lib_dir.join(&profile), lib_dir.join("lib"), lib_dir.join("_deps"), Box::new(|p: PathBuf, profile| p.join(profile))),
(lib_dir.join(&profile), lib_dir.join("lib"), lib_dir.join(&profile).join("_deps"), Box::new(|p: PathBuf, _| p)),
(lib_dir.clone(), lib_dir.join("lib"), lib_dir.parent().unwrap().join("_deps"), Box::new(|p: PathBuf, _| p)),
(lib_dir.clone(), lib_dir.join("lib"), lib_dir.join("_deps"), Box::new(|p: PathBuf, _| p)),
(lib_dir.join("onnxruntime"), lib_dir.join("onnxruntime").join("lib"), lib_dir.join("_deps"), Box::new(|p: PathBuf, _| p)),
];
for (lib_dir, extension_lib_dir, external_lib_dir, transform_dep) in static_configs {
Expand Down

0 comments on commit 2888e4c

Please sign in to comment.