Skip to content

Commit f70517f

Browse files
committed
Fix: try also linking in /lib/stubs
1 parent d3534a6 commit f70517f

File tree

1 file changed

+5
-1
lines changed
  • crates/find_cuda_helper/src

1 file changed

+5
-1
lines changed

crates/find_cuda_helper/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,11 @@ pub fn find_cuda_lib_dirs() -> Vec<PathBuf> {
110110
#[cfg(not(target_os = "windows"))]
111111
pub fn find_cuda_lib_dirs() -> Vec<PathBuf> {
112112
if let Some(root_path) = find_cuda_root() {
113-
vec![root_path.clone().join("lib64"), root_path.join("lib")]
113+
vec![
114+
root_path.clone().join("lib64"),
115+
root_path.clone().join("lib"),
116+
root_path.join("lib").join("stubs"),
117+
]
114118
} else {
115119
vec![]
116120
}

0 commit comments

Comments
 (0)