diff options
| author | Shawn Walker-Salas <shawn.walker@oracle.com> | 2017-02-11 09:24:33 -0800 |
|---|---|---|
| committer | Shawn Walker-Salas <shawn.walker@oracle.com> | 2017-02-11 20:28:44 -0800 |
| commit | ee54be3c9a8099d45d64764f0e50c315d5256a4c (patch) | |
| tree | c9b0519b87d54d4b7550dfa05efb83871bfeb041 /src/libstd | |
| parent | 912bc14a6b25bac66822766b09dcfb3c6263757d (diff) | |
| download | rust-ee54be3c9a8099d45d64764f0e50c315d5256a4c.tar.gz rust-ee54be3c9a8099d45d64764f0e50c315d5256a4c.zip | |
Add Solaris as recognized ostype
Add cputype recognition for Solaris Fixes #39729
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/build.rs b/src/libstd/build.rs index 0fca374f6e6..790cd5b65ba 100644 --- a/src/libstd/build.rs +++ b/src/libstd/build.rs @@ -46,6 +46,8 @@ fn main() { } else if target.contains("dragonfly") || target.contains("bitrig") || target.contains("netbsd") || target.contains("openbsd") { println!("cargo:rustc-link-lib=pthread"); + } else if target.contains("solaris") { + println!("cargo:rustc-link-lib=gcc_s"); } else if target.contains("apple-darwin") { println!("cargo:rustc-link-lib=System"); } else if target.contains("apple-ios") { |
