Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Commit d5a18fa

Browse files
authored
Merge pull request #3 from chebykin/fix/macos-target
Rename build target macos => darwin
2 parents 450f7fd + 3df57ea commit d5a18fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn main() {
3131
.compile("libhidapi.a");
3232
println!("cargo:rustc-link-lib=setupapi");
3333

34-
} else if target.contains("macos") {
34+
} else if target.contains("darwin") {
3535
cc::Build::new()
3636
.file("etc/hidapi/mac/hid.c")
3737
.include("etc/hidapi/hidapi")

0 commit comments

Comments
 (0)