Skip to content

Commit

Permalink
OpenBSD support (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiron1 authored Nov 3, 2020
1 parent 6d9bf2c commit 3e0a44e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ impl Build {
let host = &self.host.as_ref().expect("HOST dir not set")[..];
if host.contains("dragonfly")
|| host.contains("freebsd")
|| host.contains("openbsd")
|| host.contains("solaris")
|| host.contains("illumos")
{
Expand Down Expand Up @@ -210,6 +211,7 @@ impl Build {
"x86_64-unknown-illumos" => "solaris64-x86_64-gcc",
"x86_64-unknown-linux-gnu" => "linux-x86_64",
"x86_64-unknown-linux-musl" => "linux-x86_64",
"x86_64-unknown-openbsd" => "BSD-x86_64",
"x86_64-unknown-netbsd" => "BSD-x86_64",
"x86_64-sun-solaris" => "solaris64-x86_64-gcc",
"wasm32-unknown-emscripten" => "gcc",
Expand Down

0 comments on commit 3e0a44e

Please sign in to comment.