Skip to content

Commit

Permalink
Update druid-shell/build.rs
Browse files Browse the repository at this point in the history
Fix OS detection logic (thanks @maan2003)

Co-authored-by: Manmeet Maan <49202620+Maan2003@users.noreply.github.com>
  • Loading branch information
2 people authored and cmyr committed Oct 1, 2021
1 parent f3dbc23 commit 70e0b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid-shell/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fn main() {
use std::path::PathBuf;

if env::var("CARGO_CFG_TARGET_OS").unwrap() != "linux"
|| env::var("CARGO_CFG_TARGET_OS").unwrap() != "openbsd"
&& env::var("CARGO_CFG_TARGET_OS").unwrap() != "openbsd"
{
return;
}
Expand Down

0 comments on commit 70e0b97

Please sign in to comment.