Line 0
Link Here
|
|
|
1 |
Set DT_SONAME on musl. |
2 |
https://bugs.gentoo.org/923735 |
3 |
https://github.com/lu-zero/cdylib-link-lines/pull/10 |
4 |
--- a/src/lib.rs |
5 |
+++ b/src/lib.rs |
6 |
@@ -57,7 +57,7 @@ pub fn shared_object_link_args( |
7 |
lines.push(format!("-Wl,-soname,lib{}.so", name)); |
8 |
} |
9 |
|
10 |
- ("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) if env != "musl" => { |
11 |
+ ("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) => { |
12 |
lines.push(format!("-Wl,-soname,lib{}.so.{}", name, major)); |
13 |
} |
14 |
|