  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/src/unix/mod.rs b/src/unix/mod.rs
-index b79bb9f..c00325f 100644
+index d326d881..9398889d 100644
 --- a/src/unix/mod.rs
 +++ b/src/unix/mod.rs
-@@ -204,7 +204,8 @@ cfg_if! {
-     } else if #[cfg(all(not(stdbuild), feature = "use_std"))] {
-         // cargo build, don't pull in anything extra as the libstd  dep
+@@ -246,7 +246,8 @@ cfg_if! {
+     } else if #[cfg(feature = "use_std")] {
+         // cargo build, don't pull in anything extra as the libstd dep
          // already pulls in all libs.
 -    } else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips"))))] {
 +    } else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips"),

         #[link(name = "c", cfg(not(target_feature = "crt-static")))]
         extern {}
-- 
2.10.2


From c42d6328e8b041b48713ddb4b53c70af46369a0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
Date: Tue, 29 Nov 2016 23:51:07 +0100
Subject: [PATCH 1/1] liblibc: do not link libc statically for ARM musl
