Skip to content

Commit f97ac55

Browse files
authored
support for illumos systems (#52)
Resolves #51
1 parent d8c15ed commit f97ac55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ impl Build {
5454
match &self.host.as_ref().expect("HOST dir not set")[..] {
5555
"x86_64-unknown-dragonfly" => Command::new("gmake"),
5656
"x86_64-unknown-freebsd" => Command::new("gmake"),
57+
"x86_64-sun-solaris" => Command::new("gmake"),
5758
_ => Command::new("make"),
5859
}
5960
}
@@ -180,6 +181,7 @@ impl Build {
180181
"x86_64-unknown-linux-gnu" => "linux-x86_64",
181182
"x86_64-unknown-linux-musl" => "linux-x86_64",
182183
"x86_64-unknown-netbsd" => "BSD-x86_64",
184+
"x86_64-sun-solaris" => "solaris64-x86_64-gcc",
183185
"wasm32-unknown-emscripten" => "gcc",
184186
"wasm32-unknown-unknown" => "gcc",
185187
"aarch64-apple-ios" => "ios64-cross",

0 commit comments

Comments
 (0)