Codebase list rust-libslirp / 735594e
nitrokey-sys: Remove the libhidapi-libusb dependency This dependency was only used to build libnitrokey. But as we patched nitrokey-sys to use the system library, we do no longer need it. Robin Krahl authored 5 years ago Robin Krahl committed 5 years ago
2 changed file(s) with 7 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
66 summary = "Low-level bindings to libnitrokey"
77
88 [packages.lib]
9 depends = ["libnitrokey-dev","libhidapi-dev"]
9 depends = ["libnitrokey-dev"]
66 build.rs | 102 +------------------------------------------------------
77 1 file changed, 1 insertion(+), 101 deletions(-)
88
9 diff --git a/build.rs b/build.rs
10 index a22bbd0..3733d8b 100644
11 --- a/build.rs
12 +++ b/build.rs
13 @@ -1,104 +1,4 @@
9 Index: nitrokey-sys/build.rs
10 ===================================================================
11 --- nitrokey-sys.orig/build.rs
12 +++ nitrokey-sys/build.rs
13 @@ -1,104 +1,3 @@
1414 -extern crate cc;
1515 -
1616 -use std::env;
113113 - .file(version_source)
114114 - .compile("libnitrokey.a");
115115 -
116 println!("cargo:rustc-link-lib=hidapi-libusb");
116 - println!("cargo:rustc-link-lib=hidapi-libusb");
117117 + println!("cargo:rustc-link-lib=nitrokey");
118118 }
119 --
120 2.20.0
121