about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJeremy Soller <jackpot51@gmail.com>2016-12-20 18:03:30 -0700
committerJeremy Soller <jackpot51@gmail.com>2016-12-20 18:03:30 -0700
commit7697c7277ea35e215c412b8d1216ca75bd1a6a45 (patch)
tree41e2b6843632e442f90fb67b75b3f8cc5e73ae4b /src
parentfd4bc88880bd7aeb2a1a5cb56fbfea639bc6f2e7 (diff)
downloadrust-7697c7277ea35e215c412b8d1216ca75bd1a6a45.tar.gz
rust-7697c7277ea35e215c412b8d1216ca75bd1a6a45.zip
Static link openlibm
Diffstat (limited to 'src')
-rw-r--r--src/libstd/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs
index b8f9b51172a..34ec1651326 100644
--- a/src/libstd/build.rs
+++ b/src/libstd/build.rs
@@ -63,7 +63,7 @@ fn main() {
         println!("cargo:rustc-link-lib=mxio");
         println!("cargo:rustc-link-lib=launchpad"); // for std::process
     } else if target.contains("redox") {
-        println!("cargo:rustc-link-lib=openlibm");
+        println!("cargo:rustc-link-lib=static=openlibm");
     }
 }