mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 09:45:12 +03:00
14 lines
627 B
Diff
14 lines
627 B
Diff
--- a/library/std/src/sys/unix/mod.rs.orig 2021-02-11 18:34:14.479832268 +0100
|
|
+++ b/library/std/src/sys/unix/mod.rs 2021-02-11 18:38:28.078987749 +0100
|
|
@@ -243,6 +243,10 @@
|
|
#[link(name = "log")]
|
|
#[link(name = "gcc")]
|
|
extern "C" {}
|
|
+ } else if #[cfg(all(target_os = "linux", target_env = "musl"))] {
|
|
+ #[link(name = "ssp_nonshared", kind = "static", cfg(target_feature = "crt-static"))]
|
|
+ #[link(name = "ssp_nonshared", cfg(not(target_feature = "crt-static")))]
|
|
+ extern "C" {}
|
|
} else if #[cfg(target_os = "freebsd")] {
|
|
#[link(name = "execinfo")]
|
|
#[link(name = "pthread")]
|
|
|