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.
This commit is contained in:
Alex Crichton 2014-03-25 09:47:22 -07:00
parent 1f5571abc2
commit d1f8fb26f5

View file

@ -38,6 +38,7 @@ extern {}
#[cfg(target_os = "freebsd")]
#[link(name = "execinfo")]
#[link(name = "pthread")]
#[link(name = "m")]
extern {}
#[cfg(target_os = "macos")]