Skip to content

Commit

Permalink
support windows ffi.lib
Browse files Browse the repository at this point in the history
  • Loading branch information
elipmoc committed Dec 19, 2018
1 parent c3ed99c commit 26f5845
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
fn main() {
println!("cargo:rustc-link-lib=dylib=ffi");
if cfg!(not(target_os = "windows")) {
println!("cargo:rustc-link-lib=dylib=ffi");
}
}

0 comments on commit 26f5845

Please sign in to comment.