diff --git a/Cargo.toml b/Cargo.toml
index a708801e38a78e78d1c9411ddfe056635da2462c..e8492974e0f848a363855f2ee33a71658e3680b8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "libc"
-version = "0.2.53"
+version = "0.2.54"
 authors = ["The Rust Project Developers"]
 license = "MIT OR Apache-2.0"
 readme = "README.md"
diff --git a/src/redox/mod.rs b/src/redox/mod.rs
index 0d2cacc27b2ec64282ccf0d233e20cc7ccd8b332..ac0ae00bce10d63936fcc5ab42b307df9a6ad27f 100644
--- a/src/redox/mod.rs
+++ b/src/redox/mod.rs
@@ -377,11 +377,8 @@ extern {
                  -> ::ssize_t;
 }
 
-#[cfg_attr(feature = "rustc-dep-of-std",
-           link(name = "c", kind = "static",
-                cfg(target_feature = "crt-static")))]
-#[cfg_attr(feature = "rustc-dep-of-std",
-           link(name = "c", cfg(not(target_feature = "crt-static"))))]
+#[link(name = "c")]
+#[link(name = "m")]
 extern {}
 
 pub use self::net::*;