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:
parent
1f5571abc2
commit
d1f8fb26f5
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ extern {}
|
|||
#[cfg(target_os = "freebsd")]
|
||||
#[link(name = "execinfo")]
|
||||
#[link(name = "pthread")]
|
||||
#[link(name = "m")]
|
||||
extern {}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
|
|
Loading…
Add table
Reference in a new issue