about summary refs log tree commit diff
path: root/src/libstd/rtdeps.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-25 09:47:22 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-25 09:47:22 -0700
commitd1f8fb26f5dc52556153c817fbe03dae5f4295b7 (patch)
tree2f4909ebd4743d0dbeb477760ff784d4ac81afb3 /src/libstd/rtdeps.rs
parent1f5571abc222520537daa00fc8256040647eec86 (diff)
downloadrust-d1f8fb26f5dc52556153c817fbe03dae5f4295b7.tar.gz
rust-d1f8fb26f5dc52556153c817fbe03dae5f4295b7.zip
std: Explicitly link to libm for freebsd
Apparently we had forgotten to do this for freebsd, causing possible problems
on FreeBSD 10. The discussion in #12324 has some more details about how it's
missing.
Diffstat (limited to 'src/libstd/rtdeps.rs')
-rw-r--r--src/libstd/rtdeps.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rtdeps.rs b/src/libstd/rtdeps.rs
index f9f2f1ec852..65824b8f79f 100644
--- a/src/libstd/rtdeps.rs
+++ b/src/libstd/rtdeps.rs
@@ -38,6 +38,7 @@ extern {}
 #[cfg(target_os = "freebsd")]
 #[link(name = "execinfo")]
 #[link(name = "pthread")]
+#[link(name = "m")]
 extern {}
 
 #[cfg(target_os = "macos")]