Skip to content

Commit 842707b

Browse files
authored
Fix soname on musl (#1256)
Fix soname on musl
1 parent dabb6ce commit 842707b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/src/arch/musl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub fn fix_soname(lib_path: &str) {
6464
let mut patch_soname = Command::new("patchelf")
6565
.arg("--set-soname")
6666
.arg(PROF_DYNAMIC_LIB)
67-
.arg(lib_path)
67+
.arg(lib_path.to_owned() + "/" + PROF_DYNAMIC_LIB)
6868
.spawn()
6969
.expect("failed to spawn patchelf");
7070

0 commit comments

Comments
 (0)