Skip to content

Commit 5ac9ff4

Browse files
committed
Move "lib" prefix to OPENMP_RUNTIME_LIB
1 parent 60b3f58 commit 5ac9ff4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intel-mkl-tool/src/entry.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub fn mkl_file_name(link: LinkType, name: &str) -> String {
7474
}
7575

7676
pub const OPENMP_RUNTIME_LIB: &str = if cfg!(target_os = "windows") {
77-
"iomp5md"
77+
"libiomp5md"
7878
} else {
7979
"iomp5"
8080
};
@@ -85,10 +85,10 @@ pub fn openmp_runtime_file_name(link: LinkType) -> String {
8585
if cfg!(target_os = "windows") {
8686
match link {
8787
LinkType::Static => {
88-
format!("lib{}.lib", name)
88+
format!("{}.lib", name)
8989
}
9090
LinkType::Dynamic => {
91-
format!("lib{}.dll", name)
91+
format!("{}.dll", name)
9292
}
9393
}
9494
} else {

0 commit comments

Comments
 (0)