Skip to content

Commit 94e35a4

Browse files
Fix build on macOS
1 parent bb390a0 commit 94e35a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ fn main() {
2828
} else {
2929
println!("cargo:rustc-env=OS_VERSION={}", env!("CARGO_PKG_VERSION"));
3030
}
31+
32+
#[cfg(target_os="macos")]
33+
println!("cargo:rustc-link-lib=c");
3134
}

0 commit comments

Comments
 (0)