Skip to content

Commit

Permalink
Fix Windows dylib name
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Feb 12, 2024
1 parent 102c90b commit 49b9d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/utils/dylib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub fn exe(name: &str, target: &str) -> String {
#[allow(dead_code)]
pub fn shared_lib_name(name: &str, target: &str) -> String {
if target.contains("windows") {
format!("lib{name}.dll")
format!("{name}.dll")
} else if target.contains("apple") {
format!("lib{name}.dylib")
} else {
Expand Down

0 comments on commit 49b9d65

Please sign in to comment.